This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: linux-kernels and -foptimize-sibling-calls
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: linux-kernels and -foptimize-sibling-calls
- From: Geoff Keating <geoffk at cygnus dot com>
- Date: 12 Oct 2000 15:20:31 -0700
- CC: gcc at gcc dot gnu dot org
- References: <00101222464302.04452@enzo.bigblue.local>
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>