Disabling the heuristic inliner

Paolo Carlini paolo.carlini@oracle.com
Thu Nov 19 02:43:00 GMT 2009


On 11/19/2009 02:21 AM, Shaun Jackman wrote:
> I haven't done a lot of testing, but
> -Os -fno-inline-small-functions
> seems to accomplish this.
>   
Note that this issue really doesn't qualify for gcc, gcc-help is more
suited.

Anyway, there are some attributes available, which probably you can find
useful, like always_inline, see the docs for details.

Paolo.



More information about the Gcc mailing list