diff options
author | Jason Merrill <jason@casey.soma.redhat.com> | 2000-06-06 03:37:50 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-06-05 23:37:50 -0400 |
commit | 258a120bab5d85ac9541551620ff0fc24de1c354 (patch) | |
tree | f6353c2b2d7aabfa8a09b3b3da4ca7183de48eab /gcc/expr.h | |
parent | c9d8a8136198b464ef8de88f9ea5d8364d848e8b (diff) | |
download | gcc-258a120bab5d85ac9541551620ff0fc24de1c354.tar.gz |
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.h | 5 |
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. */ |