r238628 - in /branches/gcc-5-branch/gcc: cp/Cha...

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Jul 22 03:51:00 GMT 2016


Author: jason
Date: Fri Jul 22 03:51:07 2016
New Revision: 238628

URL: https://gcc.gnu.org/viewcvs?rev=238628&root=gcc&view=rev
Log:
	PR c++/71913 - missing copy elision with new.

	* call.c (unsafe_copy_elision_p): It's OK to elide when
	initializing an unknown object.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/init/elide5.C
Modified:
    branches/gcc-5-branch/gcc/cp/ChangeLog
    branches/gcc-5-branch/gcc/cp/call.c



More information about the Gcc-cvs mailing list