OSDN Git Service

PR target/45815
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 2010 18:22:13 +0000 (18:22 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Sep 2010 18:22:13 +0000 (18:22 +0000)
* opts.c (decode_options): Don't test whether the target supports
split stack if flag_split_stack == 0.

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

gcc/ChangeLog
gcc/opts.c

index 0ea2c5c..a2b7b62 100644 (file)
@@ -1,3 +1,9 @@
+2010-09-28  Ian Lance Taylor  <iant@google.com>
+
+       PR target/45815
+       * opts.c (decode_options): Don't test whether the target supports
+       split stack if flag_split_stack == 0.
+
 2010-09-28  Jan Hubicka  <jh@suse.cz>
 
        * builtin-attrs.def (ATTR_LEAF): New attribute.
index 40e6acd..e388654 100644 (file)
@@ -1091,7 +1091,7 @@ decode_options (unsigned int argc, const char **argv,
      default value if they choose based on other options.  */
   if (flag_split_stack == -1)
     flag_split_stack = 0;
-  else
+  else if (flag_split_stack)
     {
       if (!targetm.supports_split_stack (true))
        {