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

finline-limit

Lets you specify the maximum size of a function to be inlined.

Syntax

Linux:

-finline-limit=n

macOS:

-finline-limit=n

Windows:

None

Arguments

n

Must be an integer greater than or equal to zero. It is the maximum number of lines the function can have to be considered for inlining.

Default

OFF

The compiler uses default heuristics when inlining functions.

Description

This option lets you specify the maximum size of a function to be inlined. The compiler inlines smaller functions, but this option lets you inline large functions. For example, to indicate a large function, you could specify 100 or 1000 for n.

Note that parts of functions cannot be inlined, only whole functions.

This option is a modification of the -finline-functions option, whose behavior occurs by default.

IDE Equivalent

None

Alternate Options

None

See Also