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

Specifies the level of inline function expansion.

Syntax

Linux:

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: None

Windows: /Ob2/Ot

inline size

Linux: None

Windows: /Ob2/Os

inline manual

Linux: None

Windows: /Ob0

inline none

Linux: None

Windows: /Ob0

See Also