https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28901
--- Comment #15 from Mark Wielaard <mark at gcc dot gnu.org> --- (In reply to Andi Kleen from comment #14) > I'm building a current Linux kernel with allyesconfig, and this new warning > causes > 1383(!) new warnings in the build. > > I think this should be revisited and the warning be turned off again. Could you post some examples? Are they in your opinion all false positives? Or is there a specific pattern to the ones you think are falsely flagged? Note that you can always just specify -Wno-unused-const-variable if they are real warnings, but you wish to ignore them.