[Bug c++/46696] [C++0x] Implicit copy constructor can't construct array of subtype with user-defined copy constructor.
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 25 20:32:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46696
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 20:29:49 UTC ---
Author: jason
Date: Wed May 25 20:29:47 2011
New Revision: 174233
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174233
Log:
PR c++/46696
* typeck.c (cp_build_modify_expr): Check DECL_DEFAULTED_FN.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/defaulted29.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/typeck.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list