opt-report, Qopt-report

Tells the compiler to generate an optimization report to stderr.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -opt-report[n]
Windows:  /Qopt-report[n]

Arguments

n Is the level of detail in the report. Possible values are:
  0 Tells the compiler to generate no optimization report.
  1 Tells the compiler to generate a report with the minimum level of detail.
  2 Tells the compiler to generate a report with the medium level of detail.
  3 Tells the compiler to generate a report with the maximum level of detail.

Default

-opt-report2 or /Qopt-report2 If you do not specify n, the compiler generates a report with medium detail. If you do not specify the option on the command line, the compiler does not generate an optimization report.

Description

This option tells the compiler to generate an optimization report to stderr.

Alternate Options

Linux: -opt-report-level (this is a deprecated option)
Mac OS: None
Windows: /Qopt-report-level (this is a deprecated option)

See Also

opt-report-file, Qopt-report-file compiler options