This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ 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]

r147933 - in /trunk: gcc/cp/ChangeLog gcc/cp/ca...


Author: jason
Date: Wed May 27 22:23:41 2009
New Revision: 147933

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147933
Log:
	* call.c (implicit_conversion): Handle conversion from
	initializer-list to scalar.
	(convert_like_real): Likewise.  Avoid crashing on list
	initialization with bad conversions.
	(can_convert): Use LOOKUP_EXPLICIT.
	(can_convert_arg_bad): Add flags parm.
	* cp-tree.h: Adjust.
	* typeck.c (convert_for_assignment): Pass flags.

Modified:
    trunk/libstdc++-v3/testsuite/19_diagnostics/error_code/operators/bool_neg.cc
    trunk/libstdc++-v3/testsuite/19_diagnostics/error_condition/operators/bool_neg.cc

Changes in other areas also in this revision:
Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist15.C
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist16.C
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist17.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/typeck.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]