This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r164918 - 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: Sun, 03 Oct 2010 23:28:16 -0000
- Subject: r164918 - in /trunk/gcc: cp/ChangeLog cp/call.c...
Author: jason
Date: Sun Oct 3 23:28:15 2010
New Revision: 164918
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164918
Log:
* typeck.c (require_complete_type_sfinae): Add complain parm to...
(require_complete_type): ...this function.
(cp_build_array_ref, convert_arguments): Use it.
(convert_for_initialization, cp_build_modify_expr): Likewise.
* cp-tree.h: Declare it.
* call.c (build_over_call): Use it.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/sfinae5.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