Specifies the upper limit for the size of what the inliner considers to be a small routine.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux and Mac OS: | -inline-min-size=n -no-inline-min-size |
Windows: | /Qinline-min-size=n /Qinline-min-size- |
n | Is a positive integer that specifies the maximum size of what the inliner considers to be a small routine. |
OFF | The compiler uses default heuristics for inline routine expansion. |
This option specifies the upper limit for the size of what the inliner considers to be a small routine (a function or subroutine). The inliner classifies routines as small, medium, or large. This option specifies the boundary between what the inliner considers to be small and medium-size routines.
The inliner has a preference to inline small routines. So, when a routine is smaller than or equal to the specified size, it is very likely to be inlined.
If you specify -no-inline-min-size (Linux and Mac OS) or /Qinline-min-size- (Windows), there is no limit to the size of small routines. Every routine is a small routine; there are no medium or large routines.
To see compiler values for important inlining limits, specify compiler option -opt-report (Linux and Mac OS) or /Qopt-report (Windows).
To see compiler values for important inlining limits, specify compiler option -opt-report (Linux and Mac OS) or /Qopt-report (Windows).
Caution
When you use this option to increase the default limit, the compiler may do so much additional inlining that it runs out of memory and terminates with an "out of memory" message.
None
inline-max-size, Qinline-max-size compiler option
opt-report, Qopt-report compiler option
Optimizing Applications:
Compiler Directed Inline Expansion of User Functions
Developer Directed Inline Expansion of User Functions