r158798 - in /trunk/gcc: cp/ChangeLog cp/call.c...
jason@gcc.gnu.org
jason@gcc.gnu.org
Tue Apr 27 19:04:00 GMT 2010
Author: jason
Date: Tue Apr 27 19:04:09 2010
New Revision: 158798
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158798
Log:
PR c++/41468
* class.c (convert_to_base): Add complain parameter. Pass
ba_quiet to lookup_base if we don't want errors.
(build_vfield_ref): Pass complain to convert_to_base.
* call.c (convert_like_real): Likewise.
(initialize_reference): Likewise.
(perform_direct_initialization_if_possible): Pass complain to
convert_like_real.
* cp-tree.h: Adjust.
Added:
trunk/gcc/testsuite/g++.dg/template/sfinae17.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/class.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list