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 #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-19 20:11:00 UTC ---
Author: jason
Date: Mon Dec 19 20:10:49 2011
New Revision: 182496

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182496
Log:
    PR c++/51553
    * cp-tree.h (LOOKUP_LIST_INIT_CTOR): Rename from
    LOOKUP_NO_COPY_CTOR_CONVERSION.
    (add_list_candidates): Set it earlier.
    (add_candidates): Don't check explicit on ctors when it's set.
    (add_function_candidate): Check it even when LOOKUP_ONLYCONVERTING
    is set.

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


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