r116541 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...

reichelt@gcc.gnu.org reichelt@gcc.gnu.org
Mon Aug 28 22:34:00 GMT 2006


Author: reichelt
Date: Mon Aug 28 22:34:55 2006
New Revision: 116541

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116541
Log:
	PR c++/28860
	* cp-tree.h (maybe_process_partial_specialization): Return
	tree instead of void.
	* parser.c (cp_parser_class_head): Use return value of
	maybe_process_partial_specialization.
	* pt.c (maybe_process_partial_specialization): Return error_mark_node
	for broken specializations, TYPE otherwise.  Check for template
	template parameters.

	* g++.dg/template/ttp22.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/ttp22.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list