[Bug c++/53637] NRVO not applied where there are two different variables involved

thomas.braun@virtuell-zuhause.de gcc-bugzilla@gcc.gnu.org
Mon Feb 29 16:18:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53637

--- Comment #4 from Thomas Braun <thomas.braun@virtuell-zuhause.de> ---
(I'm no gcc dev at all)

In general gcc is much better in doing NRVO/URVO than other compilers according
to my analysis [1]. So maybe the competitors need to get better first ;)

[1]: http://www.byte-physics.de/cpp-copy-elision


More information about the Gcc-bugs mailing list