aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2006-11-10 22:42:04 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2006-11-10 21:42:04 +0000
commit3e916873cb9c0e4a7865a06be6f0d4a714c7617e (patch)
tree7b0c4d5780c7da1e20a8d73c2051cd1de97dda2e /gcc/cse.c
parentd8d8121add34439d69187182bacea680468270df (diff)
downloadgcc-3e916873cb9c0e4a7865a06be6f0d4a714c7617e.zip
gcc-3e916873cb9c0e4a7865a06be6f0d4a714c7617e.tar.gz
gcc-3e916873cb9c0e4a7865a06be6f0d4a714c7617e.tar.bz2
cse.c (cse_process_notes): Copy the propagated value.
* cse.c (cse_process_notes): Copy the propagated value. * local-alloc.c (update_equiv_regs): Copy the memory RTX to be used in REG_EQUIV notes. * gcse.c (try_replace_reg): Copy the replacement. * i386.c (emit_i387_cw_initialization): Copy stored_mode (assign_386_stack_local): Always return copied memory expression * function.c (instantiate_virtual_regs_in_insn): Copy the operand duplicates. From-SVN: r118665
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 1988377..8bd2758 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -5817,7 +5817,7 @@ cse_process_notes (rtx x, rtx object)
{
rtx new = gen_lowpart (GET_MODE (x), ent->const_rtx);
if (new)
- return new;
+ return copy_rtx (new);
}
}