6.6.6.7.4 -fkeep-static-consts
Emit variables declared static const when optimization isn’t turned on, even if the variables aren’t referenced.
The compiler enables this option by default. If you want to force the
compiler to check if the variable was referenced, regardless of whether or not
optimization is turned on, use the -fno-keep-static-consts
option.