This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

linux-kernels and -foptimize-sibling-calls


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]