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
This commit is contained in:
parent
e1a132c650
commit
c2fd66f48e
@ -1,5 +1,7 @@
|
||||
2000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
|
||||
|
||||
* toplev.c (main): Call xmalloc_set_program_name.
|
||||
* gcc.c (main): Likewise.
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user