Re: [PATCH] Make gcc3.3 Eliminate Unused Static Functions

Tom Rini (trini@kernel.crashing.org)
Fri, 13 Jun 2003 09:03:35 -0700


On Fri, Jun 13, 2003 at 10:04:56AM -0400, Chris Friesen wrote:

> Bernd Eckenfels wrote:
>
> >does that mean the current linux source tree does not benefit in any way
> >from this patch?
>
> I suspect that currently all such instances are wrapped in #ifdef and are
> not currently compiled in. As he said in the original message, "it'd be
> nice to discard unused functions (think CONFIG_PROC_FS=n) without needing
> to #ifdef around them."
>
> This would allow us to remove those #ifdefs.

... only if we say a min gcc version of 3.3 however, yes? Otherwise the
kernel gets rather bloated. Just how wide-spread (and Good To Use) is
gcc-3.3 now?

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