Optimization Options
- falias, Oa
Determines whether aliasing is assumed in a program.
- fast
Maximizes speed across the entire program.
- fbuiltin, Oi
Enables or disables inline expansion of intrinsic functions.
- fdefer-pop
Determines whether the compiler always pops the arguments to each function call as soon as that function returns.
- ffnalias, Ow
Determines whether aliasing is assumed within functions.
- ffunction-sections
Places each function in its own COMDAT section.
- foptimize-sibling-calls
Determines whether the compiler optimizes tail recursive calls.
- fprotect-parens, Qprotect-parens
Determines whether the optimizer honors parentheses when floating-point expressions are evaluated.
- GF
Enables read-only string-pooling optimization.
- nolib-inline
Disables inline expansion of standard library or intrinsic functions.
- O
Specifies the code optimization for applications.
- Od
Disables all optimizations.
- Ofast
Sets certain aggressive options to improve the speed of your application.
- Os
Enables optimizations that do not increase code size; it produces smaller code size than O2.
- Ot
Enables all speed optimizations.
- Ox
Enables maximum optimizations.