https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96153 Bug 96153 depends on bug 96157, which changed state.
Bug 96157 Summary: d: No NRVO when returning an array of a non-POD struct https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96157 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED