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.
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. */
{
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;