[Bug c++/97562] NRVO is very fragile (adding an extra scope breaks the optimization)

2020-10-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
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)

2020-10-26 Thread barry.revzin at gmail dot com via Gcc-bugs
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)

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97562 --- Comment #1 from Jonathan Wakely --- Dup of PR 51571 ?