Re: [PATCH] 2.5.21 inline abuse...

Richard Zidlicky
2002-06-13T13:21:37Z

On Wed, Jun 12, 2002 at 12:50:15PM +0200, Martin Dalecki wrote:
> The attached patch is trying to address the most obvious
> abuses or inadequacies in the usage of the inline attribute
> to functions. Many of the remaining usages should be removed
> as well since apparently GCC got really good at figuring out
> on its own whatever it makes sense to inline a function or not.

do you compile your kernels with -O3 or -finline-functions?
Otherwise gcc should not inline anything at all without the
explicit inline keyword.

Richard