Developer Guide and Reference

Contents

finline-limit

Lets you specify the maximum size of a function to be inlined.

Syntax

Linux and macOS:
-finline-limit
=
n
Windows:
None
Arguments
n
Must be an integer greater than or equal to zero. It is the maximum number of lines the function can have to be considered for inlining.
Default
OFF
The compiler uses default heuristics when inlining functions.
Description
This option lets you specify the maximum size of a function to be inlined. The compiler inlines smaller functions, but this option lets you inline large functions. For example, to indicate a large function, you could specify 100 or 1000 for
n
.
Note that parts of functions cannot be inlined, only whole functions.
This option is a modification of the
-finline-functions
option, whose behavior occurs by default.
Alternate Options
None

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804