Specifies the upper limit for the size of what the inliner considers to be a small routine.
Linux and macOS:
- Is a positive integer that specifies the maximum size of what the inliner considers to be a small routine.
- 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). 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
/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 option
[q or Q]opt-report.
When you use this option to increa