-Qipo Usage

Functions are optimized within files and between files.

The -Qipo (-ipo on Linux*) option enables interprocedural optimizations and inlining across multiple source files and also within individual files.

At link time, the compiler looks for optimization opportunities across function call boundaries in multiple files.

Pros

  • The compiler may produce faster code.
  • This is the only option that enables multi-file optimizations.

Cons

  • Code size may bloat.
  • Compilation may take more time.