Re: Some functions are not inlined by gcc 3.2, resulting code is ugly

Martin J. Bligh (mbligh@aracnet.com)
Sun, 03 Nov 2002 07:23:44 -0800


> Here is the cure: force_inline will guarantee inlining.
>
> To use _only_ with functions which meant to be almost
> optimized away to nothing but are large and gcc might decide
> they are _too_ large for inlining.

So aside from the ugliness of code, which one actually runs faster?

M.

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