5.7.7.26 Inline-limit Option
The -finline-limit=n
option controls the inlining size limit
for functions marked inline
. The argument,
n
, is a number of pseudo instructions (not
counting parameter handling) being an abstract measurement of a function's size. In no
way does this value represent a count of assembly instructions and as such, its exact
meaning might change from one release of the compiler to an another. The default value
of n
is 10000.
Increasing the inlining limit can result in more inlined code at the cost of compilation time and memory consumption.