re PR middle-end/49990 (Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran)

2011-08-08  Richard Henderson  <rth@redhat.com>

        PR middle-end/49990
        * config/i386/i386.c (ix86_expand_prologue): Call
        for SEH target gen_prologue_use instead of gen_blockage
        at prologue's end.

From-SVN: r177573
This commit is contained in:
Richard Henderson 2011-08-08 11:19:17 -07:00 committed by Kai Tietz
parent 1ad663a82a
commit 8714c21f19
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2011-08-08 Richard Henderson <rth@redhat.com>
PR middle-end/49990
* config/i386/i386.c (ix86_expand_prologue): Call
for SEH target gen_prologue_use instead of gen_blockage
at prologue's end.
2011-08-08 Martin Jambor <mjambor@suse.cz>
PR middle-end/49923

View File

@ -10242,9 +10242,11 @@ ix86_expand_prologue (void)
emit_insn (gen_cld ());
/* SEH requires that the prologue end within 256 bytes of the start of
the function. Prevent instruction schedules that would extend that. */
the function. Prevent instruction schedules that would extend that.
Further, prevent alloca modifications to the stack pointer from being
combined with prologue modifications. */
if (TARGET_SEH)
emit_insn (gen_blockage ());
emit_insn (gen_prologue_use (stack_pointer_rtx));
}
/* Emit code to restore REG using a POP insn. */