5.7.7.23 Keep-static-consts Option

The -fkeep-static-consts option emits static const objects when the optimizers are disabled, even if the objects are not referenced. This is the default action if no option is specified.

The -fno-keep-static-consts form of this option forces the compiler to emit the object only when referenced, regardless of whether the optimizers are enabled.