https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81897
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |4.6.3, 4.8.3 Keywords| |diagnostic Last reconfirmed| |2017-08-18 CC| |msebor at gcc dot gnu.org Ever confirmed|0 |1 Summary|spurious |[5.4/6.4/7.2/8 Regression] |-Wmaybe-uninitialized |spurious |warning |-Wmaybe-uninitialized | |warning Known to fail| |4.9.3, 5.4.0, 6.4.0, 7.2.0, | |8.0 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. The regression was apparently introduced in r205074 (gcc 4.9.0). There was no warning prior to that change going as far back as r158841. The next older revision I have access to, r158831, again warns.