diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/opts.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ea2c5c..a2b7b62 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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)) { |