Tells the compiler to print all enabled diagnostic messages.

Syntax

Linux and macOS:

-diag-dump

Windows:

/Qdiag-dump

Arguments

None

Default

OFF

The compiler issues certain diagnostic messages by default.

Description

This option tells the compiler to print all enabled diagnostic messages. The diagnostic messages are output to stdout.

This option prints the enabled diagnostics from all possible diagnostics that the compiler can issue, including any default diagnostics.

If diag-list is specified for the [Q]diag-enable option, the print out will include the diag-list diagnostics.

IDE Equivalent

None

Alternate Options

None

Example

The following example adds vectorizer diagnostic messages to the printout of default diagnostics:

-diag-enable vec -diag-dump         ! Linux and macOS* systems
/Qdiag-enable:vec /Qdiag-dump       ! Windows systems

See Also

Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.