[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 Marek Polacek changed: What|Removed |Added Resolution|--- |DUPLICATE CC|
[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 --- Comment #2 from Barry Revzin --- Yep, looks like the same issue to me.
[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 --- Comment #1 from Jonathan Wakely --- Dup of PR 51571 ?