https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 90307, which changed state.
Bug 90307 Summary: -Wuninitialized only at -O1, not at -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90307 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED