Sorry, your browser is not supported. We recommend upgrading your browser.
We have done our best to make all the documentation and resources available on old versions of Internet Explorer, but vector image support and the layout may not be optimal. Technical documentation is available as a PDF Download.
ARM Compiler toolchain Compiler Reference Version 5.0
You copied the Doc URL to your clipboard.
This option suppresses diagnostic messages for high-level
By default, optimization messages have Remark severity. Specifying --diag_suppress=optimizations suppresses
Use the --remarks option to see optimization
messages having Remark severity.
The compiler performs certain high-level vector and scalar
optimizations when compiling at the optimization level -O3
-Otime, for example, loop unrolling. Use this option to
suppress diagnostic messages relating to these high-level optimizations.
int factorial(int n)
while (n > 0)
result *= n--;
Compiling this code with the options -O3-Otime--remarks
--diag_suppress=optimizations suppresses optimization messages.