https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 96295, which changed state.
Bug 96295 Summary: [11 Regression] -Wmaybe-uninitialized warning for range operator with reference to an empty struct https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96295 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED