Interprocedural Optimization: Options

Windows*

Linux*

Description

-Qip

-ip

Enables interprocedural optimizations for single file compilation.

-Qipo[value]

-ipo[value]

Enables interprocedural optimizations across files.

value specifies the maximum number of object files that are spawned.

The default for value is 1 when value is not specified for small applications. It will generate two or more object files for large applications.

Note: You need to use IPO during both compilation and linking.

Compiler Option Quick Reference

See examples on the next page.