Option |
Description |
-O, -O1, -O2 |
Optimize for speed, but disable some optimizations that increase code
size for a small speed benefit. Default. |
-O3 |
Enables -O2 option with more aggressive optimization
and sets high-level optimizations, including loop transformation, OpenMP,
and prefetching. High-level optimizations use the properties of source
code constructs such as loops and arrays in applications written in high-level
programming languages. |
-O0 |
Disables optimizations -O1 and-or -O2. |