OSDN Git Service

* cp-tree.h (LOOKUP_LIST_ONLY): New.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 17:34:38 +0000 (17:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 12 May 2010 17:34:38 +0000 (17:34 +0000)
commit0d836813e192373f9b1485e50823a4f64136a5d2
tree349a445b9584ca18552e20bbb78d6abc89307290
parent6420cb4a8efa577d63711077742ef0fdf62d2247
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159334 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist32.C [new file with mode: 0644]