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
+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
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. */