Specifies how much larger a routine can normally grow when inline expansion is performed.
Syntax
Linux OS and OS X: | -inline-max-total-size=n -no-inline-max-total-size |
Windows OS: | /Qinline-max-total-size=n /Qinline-max-total-size- |
Arguments
n | Is a positive integer that specifies the permitted increase in the routine's size when inline expansion is performed. |
Default
-no-inline-max-total-size | The compiler uses default heuristics for inline routine expansion. |
Description
This option specifies how much larger a routine can normally grow when inline expansion is performed. It limits the potential size of the routine. For example, if 2000 is specified for n, the size of any routine will normally not increase by more than 2000.
If you specify -no-inline-max-total-size (Linux* OS and OS X*) or /Qinline-max-total-size- (Windows* OS), there is no limit to the size a routine may grow when inline expansion is performed.
To see compiler values for important inlining limits, specify the -qopt-report (Linux* OS and OS X*) or /Qopt-report (Windows) option.
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.