summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-06 03:37:50 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-06 03:37:50 +0000
commit16f017712ac996fe9aa5d7eb16a33d528cd899dc (patch)
treef6353c2b2d7aabfa8a09b3b3da4ca7183de48eab /gcc/expr.h
parent170ce3354eed3a3e03610a5317e64328b346db31 (diff)
downloadgcc-16f017712ac996fe9aa5d7eb16a33d528cd899dc.tar.gz
* explow.c (maybe_set_unchanging): New function, broken out from...
(set_mem_attributes): Here. * expr.h: Declare it. * stmt.c (expand_decl): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34421 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 852b6c0efe6..b822ea24815 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -1150,6 +1150,11 @@ extern rtx change_address PARAMS ((rtx, enum machine_mode, rtx));
extern rtx validize_mem PARAMS ((rtx));
#ifdef TREE_CODE
+/* Given REF, either a MEM or a REG, and T, either the type of X or
+ the expression corresponding to REF, set RTX_UNCHANGING_P if
+ appropriate. */
+extern void maybe_set_unchanging PARAMS ((rtx, tree));
+
/* Given REF, a MEM, and T, either the type of X or the expression
corresponding to REF, set the memory attributes. OBJECTP is nonzero
if we are making a new object of this type. */