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]

Re: linux-kernels and -foptimize-sibling-calls


Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:

> 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.

Since sibling calls are not yet implemented on PPC, I would very much
like to see a testcase :-).

-- 
- Geoffrey Keating <geoffk@cygnus.com>

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