[Bug c++/28853] [4.0/4.1/4.2 regression] ICE on invalid declaration with template template parameter

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 26 00:59:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list