diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 2001-11-03 10:50:04 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-11-03 10:50:04 -0500 |
commit | 1285011e67bc94e8ed28b9711ace7445d4588254 (patch) | |
tree | 72debaad8ba738e2cb6c88c8463e497466353307 /gcc/expr.h | |
parent | 343fb4120866d610c7e233f19dfcf2b3322774ca (diff) | |
download | gcc-1285011e67bc94e8ed28b9711ace7445d4588254.zip gcc-1285011e67bc94e8ed28b9711ace7445d4588254.tar.gz gcc-1285011e67bc94e8ed28b9711ace7445d4588254.tar.bz2 |
emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a constant expression.
* 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.
From-SVN: r46733
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |