https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 86465, which changed state.
Bug 86465 Summary: [10/11/12/13 Regression] C++17 <optional> triggers: ‘<anonymous>’ may be used uninitialized in this function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED