aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2011-10-12 19:05:07 +0200
committerKai Tietz <ktietz@gcc.gnu.org>2011-10-12 19:05:07 +0200
commitc482a6511d5e20595bb347f053bcaae28293a886 (patch)
treecd6855f40b8d43ff14fdf1f62535fdc786dc82dd /gcc
parentccea4a2787ace9433f112ec24fd30b81438810cf (diff)
downloadgcc-c482a6511d5e20595bb347f053bcaae28293a886.zip
gcc-c482a6511d5e20595bb347f053bcaae28293a886.tar.gz
gcc-c482a6511d5e20595bb347f053bcaae28293a886.tar.bz2
i386.md (simple_return): Disable if TARGET_SEH is active.
* config/i386/i386.md (simple_return): Disable if TARGET_SEH is active. From-SVN: r179860
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.md6
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 91531d0..f45327e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-12 Kai Tietz <ktietz@redhat.com>
+
+ * config/i386/i386.md (simple_return): Disable
+ if TARGET_SEH is active.
+
2011-10-12 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.c (ia64_init_builtins): Fix unbalanced parentheses.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index a11a71b..b527ad2 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -11708,9 +11708,13 @@
}
})
+;; We need to disable this for TARGET_SEH, as otherwise
+;; shrink-wrapped prologue gets enabled too. This might exceed
+;; the maximum size of prologue in unwind information.
+
(define_expand "simple_return"
[(simple_return)]
- ""
+ "!TARGET_SEH"
{
if (crtl->args.pops_args)
{