Intel® C++ Compiler XE 13.1 User and Reference Guides

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

All

Syntax

Linux and OS X:

-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

-no-inline-max-total-size
or/Qinline-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 compiler option -opt-report (Linux OS and OS X) or /Qopt-report (Windows OS).

To see compiler values for important inlining limits, specify compiler option -opt-report (Linux OS and OS X) or /Qopt-report (Windows OS).

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


Submit feedback on this help topic