finline-functions

Enables certain interprocedural optimizations for single file compilation.

IDE Equivalent

None

Architectures

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

Syntax

Linux and Mac OS: -finline-functions
-fno-inline-functions
Windows:  None

Arguments

None

Default

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

Description

This option enables certain interprocedural optimizations for single file compilation. These optimizations are a subset of full intra-file interprocedural optimizations.

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.

Alternate Options

None

See Also

ip,Qip compiler option

finline-limit compiler option

Optimizing Applications:
Compiler Directed Inline Expansion of User Functions

Criteria for Inline Function Expansion