20.3.2 Compiler Settings Macro

The following symbols are defined if compiler features are enabled.

Table 20-2. Compiler Settings Macros/Symbols
Symbol Description
__OPTIMIZATION_LEVEL__ Set to the value of the big O number. For example, both -Os and -O2 would be set to 2.
__OPTIMIZE_SIZE__ Defined if -Os enabled, undefined otherwise.
__LARGE_ARRAYS__ Set to 1 for -menable-large-arrays, set to 0 otherwise.