aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2006-09-10 23:05:00 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2006-09-10 16:05:00 -0700
commit748dc0c9c2e8aa7406269aca9406ae17ef4467e9 (patch)
treea8ee7163b8a0c9e4a0036ad5e55274b357389de9 /gcc
parentde097a3b99ba39804410a1a1c06412cd2dd9f1d1 (diff)
downloadgcc-748dc0c9c2e8aa7406269aca9406ae17ef4467e9.zip
gcc-748dc0c9c2e8aa7406269aca9406ae17ef4467e9.tar.gz
gcc-748dc0c9c2e8aa7406269aca9406ae17ef4467e9.tar.bz2
re PR target/29009 (ice in kernel build)
2006-09-10 Andrew Pinski <pinskia@physics.uc.edu> PR target/29009 * config/i386/i386.c (override_options): Use 128-bit stack boundary always for 64bits. From-SVN: r116831
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bbf3626..624cac2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-10 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR target/29009
+ * config/i386/i386.c (override_options): Use 128-bit
+ stack boundary always for 64bits.
+
2006-09-10 Eric Botcazou <ebotcazou@libertysurf.fr>
PR rtl-optimization/28636
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 7f954e2..be17c02 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1903,7 +1903,8 @@ override_options (void)
don't want additional code to keep the stack aligned when
optimizing for code size. */
ix86_preferred_stack_boundary
- = ((TARGET_MACHO || TARGET_SSE || !optimize_size) ? 128 : 32);
+ = (TARGET_64BIT || TARGET_MACHO || TARGET_SSE || !optimize_size)
+ ? 128 : 32;
if (ix86_preferred_stack_boundary_string)
{
i = atoi (ix86_preferred_stack_boundary_string);