This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/76262] list-initialization prefers initializer_list over copy constructor
- From: "rs2740 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Aug 2016 08:28:40 +0000
- Subject: [Bug c++/76262] list-initialization prefers initializer_list over copy constructor
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-76262-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76262
--- Comment #3 from TC <rs2740 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #2)
> In which case both EDG and Clang get this wrong, as they print "12"
I know that Clang 3.7+ implemented DR1467 without 2137 (in which case "12"
would be the right output) - that led to
https://llvm.org/bugs/show_bug.cgi?id=23812.
I'm not familiar with EDG.