Re: [patch 00/2] improve .text size on gcc 4.0 and newer compilers

From: Jakub Jelinek
Date: Mon Jan 02 2006 - 16:31:49 EST


On Mon, Jan 02, 2006 at 11:03:41AM -0800, Andrew Morton wrote:
> > But what _is_ the best idea?
>
> Just use `inline'. With gcc-3 it'll be inlined.

Where does this certainity come from? gcc-3.x (as well as 2.x) each had
its own heuristics which functions should be inlined and which should not.
inline keyword has always been a hint.

Jakub
-
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/