https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18017
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic CC| |msebor at gcc dot gnu.org Known to fail| |4.1.3, 4.3.5, 4.4.7, 4.8.5, | |4.9.4, 5.4.0, 6.4.0, 7.3.0, | |8.2.0, 9.0 Severity|minor |normal --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- Clang has issued -Wuninitialized in C code regardless of -Winit-self since at least as far back as 3.0. Intel ICC enables -Wuninitialized in -Wextra (and has since at least 13.0). Even Visual C issues a diagnostic for the code. It seems that it might be time for GCC to start diagnosing this as well.