https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28901
petschy at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petschy at gmail dot com --- Comment #7 from petschy at gmail dot com --- For backward compatibility, wouldn't it be better to add a new flag, -Wunused-static-const-variable, instead of changing the behaviour of -Wunused-variable?