aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.soma.redhat.com>2000-06-06 03:37:50 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-06-05 23:37:50 -0400
commit258a120bab5d85ac9541551620ff0fc24de1c354 (patch)
treef6353c2b2d7aabfa8a09b3b3da4ca7183de48eab /gcc/expr.h
parentc9d8a8136198b464ef8de88f9ea5d8364d848e8b (diff)
downloadgcc-258a120bab5d85ac9541551620ff0fc24de1c354.zip
gcc-258a120bab5d85ac9541551620ff0fc24de1c354.tar.gz
gcc-258a120bab5d85ac9541551620ff0fc24de1c354.tar.bz2
explow.c (maybe_set_unchanging): New function, broken out from...
* explow.c (maybe_set_unchanging): New function, broken out from... (set_mem_attributes): Here. * expr.h: Declare it. * stmt.c (expand_decl): Call it. From-SVN: r34421
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 852b6c0..b822ea2 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. */