[Bug c++/28860] [4.0/4.1/4.2 regression] Trouble with bound template template parameter in specialization
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 28 23:12:00 GMT 2006
------- Comment #4 from reichelt at gcc dot gnu dot org 2006-08-28 23:12 -------
Subject: Bug 28860
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28860
More information about the Gcc-bugs
mailing list