r196735 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
jason@gcc.gnu.org
jason@gcc.gnu.org
Sun Mar 17 02:36:00 GMT 2013
Author: jason
Date: Sun Mar 17 02:36:55 2013
New Revision: 196735
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196735
Log:
* cp-tree.h (abstract_class_use): New enum.
* typeck2.c (pending_abstract_type): Add use field.
(abstract_virtuals_error_sfinae): Add overloads taking
abstract_class_use instead of tree.
* typeck.c (build_static_cast_1): Call it.
* except.c (is_admissible_throw_operand_or_catch_parameter): Call it.
* pt.c: Adjust calls.
* decl.c (cp_finish_decl): Don't handle functions specially.
(grokdeclarator): Always check return type.
* init.c (build_new_1): Adjust call.
Added:
trunk/gcc/testsuite/g++.dg/other/abstract5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/except.c
trunk/gcc/cp/init.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/typeck.c
trunk/gcc/cp/typeck2.c
More information about the Gcc-cvs
mailing list