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

ID 767251
Date 3/31/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-functions

Enables function inlining for single file compilation.

Syntax

Linux:

-finline-functions

-fno-inline-functions

macOS:

-finline-functions

-fno-inline-functions

Windows:

None

Arguments

None

Default

-finline-functions

Interprocedural optimizations occur. However, if you specify -O0, the default is OFF.

Description

This option enables function inlining for single file compilation.

It enables the compiler to perform inline function expansion for calls to functions defined within the current source file.

The compiler applies a heuristic to perform the function expansion. To specify the size of the function to be expanded, use the -finline-limit option.

IDE Equivalent

None

Alternate Options

Linux and macOS: -inline-level=2

Windows: /Ob2

See Also