https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121021
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=117009 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is a little more complex than this. It is enabled by both -Wall and -Wextra. For all languages it is enabled by -Wextra. For Fortran and C/C++ (and objc/objc++) it is enabled by -Wall . The -Wall is a language specific flag which causes confusion really. But that is recorded as PR 117009. The LTO issue of -Wall not enabling -Wuninitialize is recorded as PR 90844 (but that is still -Wall really)