Intel® Fortran Compiler XE 13.1 User and Reference Guides

inline-forceinline, Qinline-forceinline

Specifies that an inline routine should be inlined whenever the compiler can do so.

IDE Equivalent

None

Architectures

All

Syntax

Linux and OS X:

-inline-forceinline

Windows:

/Qinline-forceinline

Default

OFF

The compiler uses default heuristics for inline routine expansion.

Description

This option specifies that a inline routine should be inlined whenever the compiler can do so. This causes the routines marked with an inline keyword or directive to be treated as if they were "forceinline".

Note

Because C++ member functions whose definitions are included in the class declaration are considered inline functions by default, using this option will also make these member functions "forceinline" functions.

The "forceinline" condition can also be specified by using the directive cDEC$ ATTRIBUTES FORCEINLINE.

To see compiler values for important inlining limits, specify compiler option -opt-report (Linux* OS and OS X*) or /Qopt-report (Windows* OS).

Caution

When you use this option to change the meaning of inline to "forceinline", the compiler may do so much additional inlining that it runs out of memory and terminates with an "out of memory" message.

Alternate Options

None

See Also


Submit feedback on this help topic