This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
linux-kernels and -foptimize-sibling-calls
- To: gcc at gcc dot gnu dot org
- Subject: linux-kernels and -foptimize-sibling-calls
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Thu, 12 Oct 2000 22:46:43 +0200
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.