r116544 - in /branches/gcc-4_0-branch/gcc: cp/C...

reichelt@gcc.gnu.org reichelt@gcc.gnu.org
Mon Aug 28 23:12:00 GMT 2006


Author: reichelt
Date: Mon Aug 28 23:12:32 2006
New Revision: 116544

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116544
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:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/ttp22.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/cp-tree.h
    branches/gcc-4_0-branch/gcc/cp/parser.c
    branches/gcc-4_0-branch/gcc/cp/pt.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list