Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

ip, Qip

Determines whether additional interprocedural optimizations for single-file compilation are enabled. This feature is only available for ifort.

Syntax

Linux:

-ip

-no-ip

Windows:

/Qip

/Qip-

Arguments

None

Default

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*) or /Qip- (Windows*).

Description

This option determines whether additional interprocedural optimizations for single-file compilation are enabled.

The [Q]ip option enables additional interprocedural optimizations for single-file compilation.

Options -no-ip (Linux) and /Qip- (Windows) may not disable inlining. To ensure that inlining of user-defined functions is disabled, specify -inline-level=0or -fno-inline (Linux), or specify /Ob0 (Windows).

CAUTION:

Files compiled with option -ip or /Qip should also be linked with the same option, or the link step may fail.

IDE Equivalent

Visual Studio: Optimization > Interprocedural Optimization

Alternate Options

None

See Also