OSDN Git Service

* config/i386/i386.c (override_options): Set upper limit of
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Oct 2001 11:47:23 +0000 (11:47 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Oct 2001 11:47:23 +0000 (11:47 +0000)
-mpreferred-stack-boundary to 12.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46432 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index e1f5ad8..8d2b667 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-23  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/i386/i386.c (override_options): Set upper limit of
+       -mpreferred-stack-boundary to 12.
+
 2001-10-22  Zack Weinberg  <zack@codesourcery.com>
 
        * recog.c (peephole2_optimize): Add default case to switch.
index 691a397..5183c5f 100644 (file)
@@ -978,8 +978,8 @@ override_options ()
   if (ix86_preferred_stack_boundary_string)
     {
       i = atoi (ix86_preferred_stack_boundary_string);
-      if (i < (TARGET_64BIT ? 3 : 2) || i > 31)
-       error ("-mpreferred-stack-boundary=%d is not between %d and 31", i,
+      if (i < (TARGET_64BIT ? 3 : 2) || i > 12)
+       error ("-mpreferred-stack-boundary=%d is not between %d and 12", i,
               TARGET_64BIT ? 3 : 2);
       else
        ix86_preferred_stack_boundary = (1 << i) * BITS_PER_UNIT;