inline

Specifies the level of inline function expansion.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux and Mac OS: 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.

Alternate Options

inline all or inline speed Linux and Mac OS: None
Windows: /Ob2 /Ot
inline size Linux and Mac OS: None
Windows: /Ob2 /Os
inline manual   Linux and Mac OS: None
Windows: /Ob0
inline none  Linux and Mac OS: None
Windows: /Ob0

See Also

finline-functions compiler option