Intel® Fortran Compiler 16.0 User and Reference Guide

finline-limit

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

Syntax

Linux and OS X:

-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