mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 09:50:42 +08:00
re PR middle-end/40304 (Revision 147995 breaks stack unwind)
PR middle-end/40304 * config/i386/i386.c (pro_epilogue_adjust_stack): Mark insns frame related even if !set_cfa && style < 0. From-SVN: r148011
This commit is contained in:
parent
e90e03ce50
commit
b304194493
@ -1,3 +1,9 @@
|
||||
2009-05-31 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR middle-end/40304
|
||||
* config/i386/i386.c (pro_epilogue_adjust_stack): Mark insns
|
||||
frame related even if !set_cfa && style < 0.
|
||||
|
||||
2009-05-30 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* config/i386/mingw-tls.c: New file.
|
||||
|
@ -8026,6 +8026,8 @@ pro_epilogue_adjust_stack (rtx dest, rtx src, rtx offset,
|
||||
gcc_assert (style);
|
||||
r11 = gen_rtx_REG (DImode, R11_REG);
|
||||
insn = emit_insn (gen_rtx_SET (DImode, r11, offset));
|
||||
if (style < 0)
|
||||
RTX_FRAME_RELATED_P (insn) = 1;
|
||||
insn = emit_insn (gen_pro_epilogue_adjust_stack_rex64_2 (dest, src, r11,
|
||||
offset));
|
||||
}
|
||||
@ -8043,6 +8045,8 @@ pro_epilogue_adjust_stack (rtx dest, rtx src, rtx offset,
|
||||
add_reg_note (insn, REG_CFA_ADJUST_CFA, r);
|
||||
RTX_FRAME_RELATED_P (insn) = 1;
|
||||
}
|
||||
else if (style < 0)
|
||||
RTX_FRAME_RELATED_P (insn) = 1;
|
||||
}
|
||||
|
||||
/* Find an available register to be used as dynamic realign argument
|
||||
|
Loading…
x
Reference in New Issue
Block a user