[Bug c++/66501] [4.9/5/6 Regression] Default move assignment does not move array members
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 24 15:42:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66501
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jun 24 15:41:52 2015
New Revision: 224906
URL: https://gcc.gnu.org/viewcvs?rev=224906&root=gcc&view=rev
Log:
PR c++/66501
* init.c (vec_copy_assign_is_trivial): New.
(build_vec_init): Use it.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/rv-array1.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/init.c
More information about the Gcc-bugs
mailing list