aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-08-08 11:19:17 -0700
committerKai Tietz <ktietz@gcc.gnu.org>2011-08-08 20:19:17 +0200
commit8714c21f19912fbb55bc0e586756fe890b7f5baf (patch)
tree3aa9ad12beb7fcc08cde6a07c33e0e0318a83244
parent1ad663a82a1fe4993ac63ca028477916dd9535f1 (diff)
downloadgcc-8714c21f19912fbb55bc0e586756fe890b7f5baf.zip
gcc-8714c21f19912fbb55bc0e586756fe890b7f5baf.tar.gz
gcc-8714c21f19912fbb55bc0e586756fe890b7f5baf.tar.bz2
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/i386.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fc23fcb..58945f1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index b50b3d0..9a21e6b 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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. */