linux-kernels and -foptimize-sibling-calls

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Thu Oct 12 13:53:00 GMT 2000


Hi,

what's the word about linux-2.4, current CVS compilers and 
-foptimize-sibling-calls (on fby default or -O2)? Unless I disable this 
option the TCP stack behaves strangely on PPC and I seem to remember a 
similar comment for x86 from someone else on the GCC lists. IIRC, this is a 
somewhat expected behaviour due to the coding used in the Linux TCP stack. If 
so, I will post a patch on linux-kernel to turn off this optimization if the 
compiler supports it, similar to what has been done to turn off 
-fstrict-aliasing during kernel compilation.

Otherwise, if this is a real bug in the sibling call optimization, I will try 
to come up with a testcase.

Franz.


More information about the Gcc mailing list