diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-29 13:13:42 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-29 13:13:42 +0000 |
commit | 72cda06ba93c1a3a5aa84201e6dc0f9c84bea0a1 (patch) | |
tree | 91ea9477d30ea98886a71cebd854ccbdcf0120dc /gcc/local-alloc.c | |
parent | 6deeea15c00f3a98cb7a3e699ce4ca4462255d86 (diff) | |
download | gcc-72cda06ba93c1a3a5aa84201e6dc0f9c84bea0a1.tar.gz |
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;
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38536 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 62142f04c38..f1d1b8527b3 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; |