Intel® Fortran Compiler 17.0 Developer Guide and Reference

inline

Specifies the level of inline function expansion.

Syntax

Linux and macOS:

None

Windows:

/inline[:keyword]

Arguments

keyword

Is the level of inline function expansion. Possible values are:

none

Disables inlining of user-defined functions. This is the same as specifying manual.

manual

Disables inlining of user-defined functions. Fortran statement functions are always inlined.

size

Enables inlining of any function. However, the compiler decides which functions are inlined.

This option enables interprocedural optimizations and most speed optimizations.

speed

Enables inlining of any function. This is the same as specifying all.

all

Enables inlining of any function. However, the compiler decides which functions are inlined.

This option enables interprocedural optimizations and all speed optimizations. This is the same as specifying inline with no keyword.

Default

OFF

The compiler inlines certain functions by default.

Description

This option specifies the level of inline function expansion.

IDE Equivalent

None

Alternate Options

inline all or inline speed

Linux and OS X: None

Windows: /Ob2/Ot

inline size

Linux and OS X: None

Windows: /Ob2/Os

inline manual

Linux and OS X: None

Windows: /Ob0

inline none

Linux and OS X: None

Windows: /Ob0

See Also