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: torvalds at transmeta dot com
- Subject: Re: A patch for linux 2.1.127
- From: "David S. Miller" <davem at dm dot cobaltmicro dot com>
- Date: Mon, 9 Nov 1998 06:28:32 -0800
- CC: rth at cygnus dot com, egcs at cygnus dot com, linux-kernel at vger dot rutgers dot edu
- References: <Pine.LNX.3.95.981108231834.13853J-100000@penguin.transmeta.com>
Date: Sun, 8 Nov 1998 23:21:39 -0800 (PST)
From: Linus Torvalds <torvalds@transmeta.com>
How about something simple like:
if (SMALL_REGISTER_SET)
never_inline_functions_unless_the_user_asked_for_it();
which means that even with -O6 you would not inline functions
unless they were marked inline.
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.
Later,
David S. Miller
davem@dm.cobaltmicro.com