https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100252 Bug 100252 depends on bug 105550, which changed state.
Bug 105550 Summary: Missing copy elision with conditional operator https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105550 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED