https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18017
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #7 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #6) > 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. Filed spinoff bug PR90043 - "Turn on -Winit-self by default for -Wuninitialized"