This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28999] [4.0/4.1/4.2/4.3 regression] ICE on invalid use of typename
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2007 03:24:49 -0000
- Subject: [Bug c++/28999] [4.0/4.1/4.2/4.3 regression] ICE on invalid use of typename
- References: <bug-28999-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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