Inlining (was: GCC 3.3 release criteria)

Matt Austern austern@apple.com
Wed Feb 26 21:50:00 GMT 2003


On Wednesday, February 26, 2003, at 03:52 AM, Gabriel Dos Reis wrote:

> Andi Kleen <ak@suse.de> writes:
>
> | > | forces -Werror -Winline
> | >
> | > Why so?
> |
> | always_inline errors when the function cannot get inlined.
>
> Thanks for the education and your patience.
>
> But then if -fobey-inline doesn't error then there is something about 
> it?
>
> Matt, what does happen when a function can't be inlined?

Nothing special.  It inlines the function if possible; if not (e.g. if 
it's a
recursive call), then it just silently doesn't do the inlining.

			--matt



More information about the Gcc mailing list