This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #3 from mmitchel at gcc dot gnu dot org  2007-01-11 03:24 -------
Subject: Bug 28999

Author: mmitchel
Date: Thu Jan 11 03:24:33 2007
New Revision: 120663

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120663
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.

Added:
    trunk/gcc/testsuite/g++.dg/template/typename11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]