summaryrefslogtreecommitdiffstats
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-03 15:50:04 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-03 15:50:04 +0000
commit278fe152d9ce422bd94882c2368c79261a49d7e7 (patch)
tree72debaad8ba738e2cb6c88c8463e497466353307 /gcc/expr.h
parenteec8e9410d5deceb80ce46b3b08d60801679122a (diff)
downloadppe42-gcc-278fe152d9ce422bd94882c2368c79261a49d7e7.tar.gz
ppe42-gcc-278fe152d9ce422bd94882c2368c79261a49d7e7.zip
* emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
constant expression. (set_mem_decl): New function. * expr.h (set_mem_decl): New declaration. * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo. (output_asm_operand_names): Add tab. * reload1.c (alter_reg): Set decl of MEM from REG_DECL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46733 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 6680476c8dc..4b5f124758d 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -615,6 +615,9 @@ extern void set_mem_alias_set PARAMS ((rtx, HOST_WIDE_INT));
/* Set the alignment of MEM to ALIGN bits. */
extern void set_mem_align PARAMS ((rtx, unsigned int));
+/* Set the DECL for MEM to DECL. */
+extern void set_mem_decl PARAMS ((rtx, tree));
+
/* Return a memory reference like MEMREF, but with its mode changed
to MODE and its address changed to ADDR.
(VOIDmode means don't change the mode.
OpenPOWER on IntegriCloud