This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53637] NRVO not applied where there are two different variables involved
- From: "thomas dot braun at virtuell-zuhause dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Feb 2016 16:18:09 +0000
- Subject: [Bug c++/53637] NRVO not applied where there are two different variables involved
- Auto-submitted: auto-generated
- References: <bug-53637-4 at http dot gcc dot gnu dot org/bugzilla/>
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