File copy-frame-related.diff of Package gcc33
2004-10-26 James E Wilson <wilson@specifixinc.com>
PR target/18010
* emit-rtl.c (emit_copy_of_insn_after): Copy RTX_FRAME_RELATED_P.
Index: emit-rtl.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/emit-rtl.c,v
retrieving revision 1.420
diff -p -p -r1.420 emit-rtl.c
*** emit-rtl.c 18 Oct 2004 01:56:03 -0000 1.420
--- emit-rtl.c 19 Oct 2004 00:52:36 -0000
*************** emit_copy_of_insn_after (rtx insn, rtx a
*** 5551,5556 ****
--- 5551,5561 ----
INSN_LOCATOR (new) = INSN_LOCATOR (insn);
+ /* If the old insn is frame related, then so is the new one. This is
+ primarily needed for IA-64 unwind info which marks epilogue insns,
+ which may be duplicated by the basic block reordering code. */
+ RTX_FRAME_RELATED_P (new) = RTX_FRAME_RELATED_P (insn);
+
/* Copy all REG_NOTES except REG_LABEL since mark_jump_label will
make them. */
for (link = REG_NOTES (insn); link; link = XEXP (link, 1))