]> git.ipfire.org Git - thirdparty/gcc.git/commit
Implement P0135R1, Guaranteed copy elision.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2016 22:59:02 +0000 (22:59 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Oct 2016 22:59:02 +0000 (22:59 +0000)
commitd47a992158cc6f8a6d84f365e7d4f88ee567b640
tree5a876d8698a058b630252e34bb1ce6e5df218eed
parentf3406a4b75137336c1b9d569d7602dd169cdb2ee
Implement P0135R1, Guaranteed copy elision.

* cvt.c (ocp_convert): Don't re-copy a TARGET_EXPR in C++17.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240820 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cvt.c
gcc/testsuite/g++.dg/cpp1z/elide1.C [new file with mode: 0644]