inline-max-total-size, Qinline-max-total-size

Specifies how much larger a routine can normally grow when inline expansion is performed.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: -inline-max-total-size=n
-no-inline-max-total-size
Windows:  /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

OFF 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 and Mac OS) or /Qinline-max-total-size- (Windows), 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 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.

Alternate Options

None

See Also

inline-factor, Qinline-factor compiler option

opt-report, Qopt-report compiler option

Optimizing Applications:
Compiler Directed Inline Expansion of User Functions

Developer Directed Inline Expansion of User Functions