This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Aug 2006 00:59:18 -0000
- Subject: [Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter
- References: <bug-28853-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at gcc dot gnu dot org 2006-08-26 00:59 -------
Subject: Bug 28853
Author: reichelt
Date: Sat Aug 26 00:59:09 2006
New Revision: 116466
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116466
Log:
PR c++/28853
* typeck2.c (cxx_incomplete_type_diagnostic): Handle template
template parameters. Improve error message for template type
parameters.
* g++.dg/template/ttp21.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/ttp21.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/typeck2.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28853