[Bug c++/28999] [4.0/4.1/4.2/4.3 regression] ICE on invalid use of typename
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 11 03:25:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list