aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-05-04 13:49:50 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-05-04 09:49:50 -0400
commitbf49b1396b843c126db4f8e97326f0138ff9a2d3 (patch)
treeecad7aa7b8512c49c56eb75cc4f3a6297327ec20 /gcc/expr.c
parent5b8714bfa9c437674e8881def75401fe069d964d (diff)
downloadgcc-bf49b1396b843c126db4f8e97326f0138ff9a2d3.zip
gcc-bf49b1396b843c126db4f8e97326f0138ff9a2d3.tar.gz
gcc-bf49b1396b843c126db4f8e97326f0138ff9a2d3.tar.bz2
rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET.
* rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET. * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET when calling MEM_COPY_ATTRIBUTES. * emit-rtl.c (operand_subword, change_address): Likewise. * explow.c (stabilize): Likewise. * expr.c (protect_from_queue, emit_move_insn_1): Likewise. * integrate.c (copy_rtx_and_substitute): Likewise. * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P when calling MEM_COPY_ATTRIBUTES. (make_extraction, simplify_shift_const, gen_lowpart_for_combine): Likewise. * cse.c (gen_lowpart_if_possible): Likewise. * function.c (fixup_var_refs_1, purge_addressof_1): Likewise. * optabs.c (gen_move_insn): Likewise. * recog.c (validate_replace_rtx_1): Likewise. * simplify-rtx.c (add_mem_for_addr): Likewise. * stmt.c (expand_anon_union_decl): Likewise. * config/arm/arm.md: Likewise. * config/h8300/h7300.c (fix_bit_operand): Likewise. * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise. (block_move_no_loop, block_move_sequence): Likewise. * config/rs6000/rs6000.c (expand_block_move_mem): Likewise. * config/alpha/alpha.c (get_aligned_mem): Likewise. Clear MEM_ALIAS_SET. * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling MEM_COPY_ATTRIBUTES. From-SVN: r33665
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index ce4ecc7..8de3905 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -402,9 +402,7 @@ protect_from_queue (x, modify)
register rtx y = XEXP (x, 0);
register rtx new = gen_rtx_MEM (GET_MODE (x), QUEUED_VAR (y));
- RTX_UNCHANGING_P (new) = RTX_UNCHANGING_P (x);
MEM_COPY_ATTRIBUTES (new, x);
- MEM_ALIAS_SET (new) = MEM_ALIAS_SET (x);
if (QUEUED_INSN (y))
{
@@ -2748,9 +2746,7 @@ emit_move_insn_1 (x, y)
{
rtx new = gen_rtx_MEM (GET_MODE (x), inner);
- RTX_UNCHANGING_P (new) = RTX_UNCHANGING_P (x);
MEM_COPY_ATTRIBUTES (new, x);
- MEM_ALIAS_SET (new) = MEM_ALIAS_SET (x);
x = new;
}
if (reload_in_progress && GET_CODE (y) == MEM
@@ -2758,9 +2754,7 @@ emit_move_insn_1 (x, y)
{
rtx new = gen_rtx_MEM (GET_MODE (y), inner);
- RTX_UNCHANGING_P (new) = RTX_UNCHANGING_P (y);
MEM_COPY_ATTRIBUTES (new, y);
- MEM_ALIAS_SET (new) = MEM_ALIAS_SET (y);
y = new;
}