1.3.10. Diagnostic Options

1.3.10.1. Controlling Error, Warning, and Remark Diagnostics

The tiarmclang compiler provides the following options to assist with controlling what errors, warnings, and remarks are emitted during compilation:

-R<remark>

Enable the specified remark category.

-Wall

Enable most warning categories.

-Werror

Treat detected warnings as errors.

-Werror=<warning-category>

Treat detected warnings in the specified category as errors.

-W<warning-category>

Enable the specified warning category.

-Wno-<warning-category>

Disable the specified warning category.

1.3.10.2. Optimization Feedback Options

The following options can be used to instruct the tiarmclang compiler to emit information about the different optimizations and code transformations that are performed during compilation:

-Rpass-analysis=<arg>

Report transformation analysis from optimization passes whose name matches the given POSIX regular expression.

-Rpass-missed=<arg>

Report missed transformations by optimization passes whose name matches the given POSIX regular expression.

-Rpass=<arg>

Report transformations performed by optimization passes whose name matches the given POSIX regular expression.