This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159334 - in /trunk/gcc: cp/ChangeLog cp/call.c...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 12 May 2010 17:34:39 -0000
- Subject: r159334 - in /trunk/gcc: cp/ChangeLog cp/call.c...
Author: jason
Date: Wed May 12 17:34:38 2010
New Revision: 159334
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159334
Log:
* cp-tree.h (LOOKUP_LIST_ONLY): New.
* call.c (add_candidates): Enforce it.
(build_new_method_call): Try non-list ctor if no viable list ctor.
(build_user_type_conversion_1): Likewise.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/initlist32.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/testsuite/ChangeLog