This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 17 Mar 2013 02:36:25 +0000
- Subject: [Bug c++/54835] [C++11][DR 1518] Explicit default constructors not respected during copy-list-initialization
- Auto-submitted: auto-generated
- References: <bug-54835-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54835
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-17 02:36:25 UTC ---
Author: jason
Date: Sun Mar 17 02:36:08 2013
New Revision: 196732
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196732
Log:
DR 1518
PR c++/54835
* call.c (convert_like_real): Check for explicit constructors
even for value-initialization.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/g++.dg/cpp0x/initlist40.C