User and Reference Guide for the Intel® C++ Compiler 14.0

opt-report, Qopt-report

Tells the compiler to generate an optimization report to stderr.

Syntax

Linux OS and OS X:

-opt-report[=n]

Windows OS:

/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-report=2 or /Qopt-report:2

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.

IDE Equivalent

Windows: Diagnostics > Optimization Diagnostic Level

Linux: Compilation Diagnostics > Optimization Diagnostic Level

OS X: None

Alternate Options

None

See Also


Submit feedback on this help topic