https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61112
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic CC| |msebor at gcc dot gnu.org --- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- The test case in comment #0 was fixed by r227942: [PATCH] Fix 47679 by improving jump threading PR tree-optimization/47679 * tree-ssa-dom.c (record_temporary_equivalences): No longer static. * tree-ssa-dom.h (record_temporary_equivalences): Add prototype. * tree-ssa-threadedge.c: Include tree-ssa-dom.h. (thread_through_normal_block): Use record_temporary_equivalences. PR tree-optimization/47679 * g++.dg/warn/Wuninitialized-6.C: New test. The test case in comment #5 still results in -Wmaybe-uninitialized with GCC 9. As far as bisection shows, it has always been diagnosed.