Developer Guide and Reference

Contents

Compiler Directed Inline Expansion of Functions

Without directions from the user, the compiler attempts to estimate what functions should be inlined to optimize application performance. See Inline Expansion of Functions for more information.
The following options are useful in situations where an application can benefit from user function inlining but does not need specific direction about inlining limits.
Option
Effect
inline-level
(Linux*
and
macOS*
) or
Ob
(Windows*)
Specifies the level of inline function expansion.
Note that the option /Ob2 on Windows* is equivalent to -inline-level=2 on Linux*
and
macOS*
. Allowed values are 0, 1, and 2.
[Q]ip-no-inlining
Disables only inlining enabled by the
[Q]ip
,
[Q]ipo
, or
Ob2
options.
[Q]ip-no-pinlining
Disables partial inlining enabled by the
[Q]ip
or
[Q]ipo
options.
No other IPO optimizations are disabled.
fno-builtin
(Linux*
and
macOS*
) or
Oi-
(Windows)
Disables inlining for intrinsic functions. Disables the by-name recognition support of intrinsic functions and the resulting optimizations. Use this option if you redefine standard library routines with your own version and your version of the routine