You copied the Doc URL to your clipboard.


Disabling the inlining of functions can help to improve the debug experience.

The compiler attempts to automatically inline functions at optimization levels -O2 and -O3. When these levels are used with -fno-inline-functions, automatic inlining is disabled.

When optimization levels -O0 and -O1 are used with -fno-inline-functions, no automatic inlining is attempted, and only functions that are tagged with __attribute__((always_inline)) are inlined.