This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27665] [4.0/4.1/4.2 regression] ICE writing class instead 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: 15 Jun 2006 03:51:58 -0000
- Subject: [Bug c++/27665] [4.0/4.1/4.2 regression] ICE writing class instead of typename
- References: <bug-27665-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from mmitchel at gcc dot gnu dot org 2006-06-15 03:51 -------
Subject: Bug 27665
Author: mmitchel
Date: Thu Jun 15 03:51:51 2006
New Revision: 114669
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114669
Log:
PR c++/27665
* parser.c (cp_parser_unqualified_id): Use constructor_name_p to
identify destructors.
(cp_parser_nested_name_specifier_opt): Remove invalid
optimization.
(cp_parser_template_id): Refine heuristic for determining whether
we are entering a scope.
PR c++/27665
* g++.dg/template/crash52.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/crash52.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27665