This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51553] brace initialization and conversion operators


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51553

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-19 20:10:45 UTC ---
Author: jason
Date: Mon Dec 19 20:10:37 2011
New Revision: 182495

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182495
Log:
    PR c++/51553
    * call.c (add_function_candidate): Allow conversions for the copy
    parm in list-initialization unless the argument is an init-list.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist64.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]