Determines whether additional interprocedural optimizations for single-file compilation are enabled.
Windows: Optimization > Interprocedural Optimization
Linux: Optimization > Enable Interprocedural Optimizations for Single File Compilation
Mac OS X: Optimization > Enable Interprocedural Optimization for Single File Compilation
IA-32, Intel® 64, IA-64 architectures
Linux and Mac OS X: | -ip -no-ip |
Windows: | /Qip /Qip- |
None
OFF |
Some limited interprocedural optimizations occur, including inline function expansion for calls to functions defined within the current source file. These optimizations are a subset of full intra-file interprocedural optimizations. Note that this setting is not the same as -no-ip (Linux and Mac OS X) or /Qip- (Windows). |
This option determines whether additional interprocedural optimizations for single-file compilation are enabled.
Options -ip (Linux and Mac OS X) and /Qip (Windows) enable additional interprocedural optimizations for single-file compilation.
Options -no-ip (Linux and Mac OS X) and /Qip- (Windows) may not disable inlining. To ensure that inlining of user-defined functions is disabled, specify -inline-level=0or -fno-inline (Linux and Mac OS X), or specify /Ob0 (Windows). To ensure that inliningof compiler intrinsic functions is disabled, specify -fno-builtin (Linux and MacOS X) or /Oi- (Windows).
None