aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-12-29 13:13:42 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-12-29 08:13:42 -0500
commitc2fd66f48e9aa9011f67f17b762a39d62d174c36 (patch)
tree91ea9477d30ea98886a71cebd854ccbdcf0120dc /gcc/local-alloc.c
parente1a132c650dc39229d566e3105cfaa7be4415f17 (diff)
downloadgcc-c2fd66f48e9aa9011f67f17b762a39d62d174c36.zip
gcc-c2fd66f48e9aa9011f67f17b762a39d62d174c36.tar.gz
gcc-c2fd66f48e9aa9011f67f17b762a39d62d174c36.tar.bz2
local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
2000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN. *** local-alloc.c 2000/11/30 21:40:33 1.75 --- local-alloc.c 2000/12/29 13:10:59 *************** update_equiv_regs () *** 1141,1146 **** rtx new_insn; ! new_insn = emit_insn_before (copy_rtx (PATTERN (equiv_insn)), ! insn); REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn); REG_NOTES (equiv_insn) = 0; --- 1141,1145 ---- rtx new_insn; ! new_insn = emit_insn_before (PATTERN (equiv_insn), insn); REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn); REG_NOTES (equiv_insn) = 0; From-SVN: r38536
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 62142f0..f1d1b85 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -1131,8 +1131,8 @@ update_equiv_regs ()
NOTE_LINE_NUMBER (equiv_insn) = NOTE_INSN_DELETED;
NOTE_SOURCE_FILE (equiv_insn) = 0;
- reg_equiv[regno].init_insns =
- XEXP (reg_equiv[regno].init_insns, 1);
+ reg_equiv[regno].init_insns
+ = XEXP (reg_equiv[regno].init_insns, 1);
}
/* Move the initialization of the register to just before
INSN. Update the flow information. */
@@ -1140,8 +1140,7 @@ update_equiv_regs ()
{
rtx new_insn;
- new_insn = emit_insn_before (copy_rtx (PATTERN (equiv_insn)),
- insn);
+ new_insn = emit_insn_before (PATTERN (equiv_insn), insn);
REG_NOTES (PREV_INSN (insn)) = REG_NOTES (equiv_insn);
REG_NOTES (equiv_insn) = 0;