1.12 -fno-inline-functions

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.
Related concepts
5.2 Inline functions
Related reference
1.45 -O
Non-ConfidentialPDF file icon PDF versionARM DUI0774E
Copyright © 2014-2016 ARM. All rights reserved.