https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99756
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Depends on| |99755 Blocks| |24639 Known to fail| |10.2.0, 11.0, 4.1.0, 4.8.4, | |4.9.4, 5.5.0, 6.4.0, 7.2.0, | |8.3.0, 9.1.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- The spurious warning goes as far back as GCC 4.1. It can be avoided either by improving the optimization or by changing tree-ssa-uninit.c. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 [Bug 24639] [meta-bug] bug to track all Wuninitialized issues https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99755 [Bug 99755] failure to fold a conditional that's a subset of another expression