Enables function inlining for single file compilation.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS X: | -finline-functions
-fno-inline-functions |
Windows: | None |
None
-finline-functions | Interprocedural optimizations occur. However, if you specify -O0, the default is OFF. |
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.
Linux and Mac OS X: -inline-level=2
Windows: /Ob2
ip,Qip compiler option
finline-limit compiler option
Optimizing Applications:
Compiler Directed Inline Expansion of User Functions
Inline Function Expansion