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

ID 767251
Date 7/13/2023
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-per-compile, Qinline-max-per-compile

Specifies the maximum number of times inlining may be applied to an entire compilation unit. This feature is only available for ifort.

Syntax

Linux:

-inline-max-per-compile=n

-no-inline-max-per-compile

macOS:

-inline-max-per-compile=n

-no-inline-max-per-compile

Windows:

/Qinline-max-per-compile=n

/Qinline-max-per-compile-

Arguments

n

Is a positive integer that specifies the number of times inlining may be applied.

Default

-no-inline-max-per-compile
or /Qinline-max-per-compile-

The compiler uses default heuristics for inline routine expansion.

Description

This option the maximum number of times inlining may be applied to an entire compilation unit. It limits the number of times that inlining can be applied.

For compilations using Interprocedural Optimizations (IPO), the entire compilation is a compilation unit. For other compilations, a compilation unit is a file.

If you specify -no-inline-max-per-compile (Linux* and macOS) or /Qinline-max-per-compile- (Windows*), there is no limit to the number of times inlining may be applied to a compilation unit.

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