5.7.7.20 Inline-functions Option

The -finline-functions option considers all functions for inlining, even if they are not declared inline.

If all calls to a given function are inlined, and the function is declared static, then the function is normally not output as a stand-alone assembler routine.

This option is automatically enabled at optimization levels -O3 and -Os.

The -fno-inline-functions form of this option will never inline function that have not been marked as inline.