Re: [PATCH] prepare kconfig inline optimization for allarchitectures

From: Linus Torvalds
Date: Sun Apr 27 2008 - 19:38:00 EST




On Sun, 27 Apr 2008, Arjan van de Ven wrote:
>
> (actually, other than some obscure commandline options, the only sane way to
> avoid gcc doing this too agressive is using -Os)

Well, CC_OPTIMIZE_FOR_SIZE has been defaulting to 'y' for a *loong* time,
but it's hidden behind a EXPERIMENTAL (unless you were on some embedded
architectures), so many people won't see it.

Perhaps it is time to remove the EXPERIMENTAL? I think the gcc warnings
were mostly bogus - it's not as if there haven't been compiler bugs
without -Os too..

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/