Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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

Specifies how much larger a routine can normally grow when inline expansion is performed. This feature is only available for ifort.

Syntax

Linux:

-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*) 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 option [q or Q]opt-report.

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.

IDE Equivalent

None

Alternate Options

None

See Also