This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A patch for linux 2.1.127
- To: Linus Torvalds <torvalds at transmeta dot com>
- Subject: Re: A patch for linux 2.1.127
- From: Andi Kleen <ak at muc dot de>
- Date: 10 Nov 1998 16:06:43 +0100
- Cc: "David S. Miller" <davem at dm dot cobaltmicro dot com>, rth at cygnus dot com, egcs at cygnus dot com, linux-kernel at vger dot rutgers dot edu
- References: <Pine.LNX.3.95.981109132806.18784B-100000@penguin.transmeta.com>
In article <Pine.LNX.3.95.981109132806.18784B-100000@penguin.transmeta.com>,
Linus Torvalds <torvalds@transmeta.com> writes:
> On Mon, 9 Nov 1998, David S. Miller wrote:
>>
>> I think I'd rather tell people "don't compile the kernel with -O6"
>> than turn off -finline-functions for -O6 by default on any machine.
> Umm, I thought egcs turned inlining on much more aggressively - somebody
> said it happens with the default kernel compile flags (-O2).
To clarify:
-O2 in egcs doesn't include -finline-functions.
What it includes is -fgcse, which may have similar effects (using more
registers, leading to problems with the register allocator)
-Andi