http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45815

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at nitro dot
                   |                            |med.uc.edu

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-09-28 
16:20:31 UTC ---
(In reply to comment #3)
> > That shouldn't happen, because flag_split_stack is initialized to -1, and 
> > you
> > should only see that error if flag_split_stack != -1 in decode_options.  Can
> > you find out what is setting flag_split_stack to a value other than -1?
> 
> In gcc/opts.c at lines 1092-1102, I see
> 
>   if (flag_split_stack == -1)
>     flag_split_stack = 0;
>   else
>     {
>       if (!targetm.supports_split_stack (true))
>         {
>           error ("%<-fsplit-stack%> is not supported by "
>                  "this compiler configuration");
>           flag_split_stack = 0;
>         }
>     }

I can confirm on x86_64-apple-darwin that the section...

   if (flag_split_stack == -1)
     flag_split_stack = 0;

is being executed during the compilation of /gcc.dg/pr37106-1.c

Reply via email to