Enables the annotated source listing feature and specifies the site where optimization messages appear in the annotated source in inlined cases of loop optimizations.

Syntax

Linux and macOS:

-qopt-report-annotate-position=keyword

Windows:

/Qopt-report-annotate-position:keyword

Arguments

keyword

Specifies the site where optimization messages appear in the annotated source. You can specify one of the following:

caller

Indicates that the messages should appear in the caller site.

callee

Indicates that the messages should appear in the callee site.

both

Indicates that the messages should appear in both the caller and the callee sites.

Default

OFF

No annotated source listing is generated

Description

This option enables the annotated source listing feature and specifies the site where optimization messages appear in the annotated source in inlined cases of loop optimizations.

This option enables option [q or Q]opt-report-annotate if it is not explicitly specified.

If annotated source listing is enabled and this option is not passed to compiler, loop optimizations are placed in caller position by default.

IDE Equivalent

None

Alternate Options

None

See Also

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