https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80451 Bug 80451 depends on bug 80452, which changed state.
Bug 80452 Summary: [DR 1579] incorrect value category deduced for return value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80452 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED