| |||
| Home > Compiler Features > Pragmas | |||
The ARM compiler recognizes the following forms of pragma:
#pragma no_feature-name
#pragma feature_name
Pragmas override related command-line options. For example, #pragma
arm overrides the --thumb command-line
option.
For more information see the relevant section in the Compiler Reference Guide:
The following pragmas enable you to save and restore the pragma state:
These pragmas enable you to assign optimization goals to individual functions. The pragmas must be placed outside of a function. The following pragmas control these optimizations:
The following pragmas control how code is generated:
The following pragmas control how loops are unrolled:
PreCompiled
Header (PCH) processingThe following pragmas control PCH processing:
The following pragma controls the use of anonymous structures and unions:
The following pragmas control the
output of the diagnostic messages that have a -D postfix
in the message number: