5.7.7.14 Expensive-optimizations Option

The -fexpensive-optimizations options has the compiler perform a number of optimizations that have minimal effect but that are relatively expensive to perform.

This option is automatically enabled at optimization levels -O2, -O3, and -Os.

The -fno-expensive-optimizations form of this option does not perform these optimizations.