[Bug c++/28999] [4.0/4.1 regression] ICE on invalid use of typename

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 11 05:41:00 GMT 2007



------- Comment #5 from mmitchel at gcc dot gnu dot org  2007-01-11 05:40 -------
Subject: Bug 28999

Author: mmitchel
Date: Thu Jan 11 05:40:35 2007
New Revision: 120665

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120665
Log:
        PR c++/28999
        * decl.c (make_typename_type): If the qualified name is not a
        type, issue an error.
        * parser.c (cp_parser_elaborated_type_specifier): Fix comment
        formatting.
        PR c++/28999
        * g++.dg/template/typename11.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/typename11.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/decl.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28999



More information about the Gcc-bugs mailing list