https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 118385, which changed state.
Bug 118385 Summary: A temporary expression bound to a reference member in a mem-initializer is ill-formed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118385 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE