https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926 Bug 101926 depends on bug 95383, which changed state.
Bug 95383 Summary: Poor codegen when constructing a trivial Optional https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95383 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE