aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);