This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22153] [3.4/4.0/4.1 regression] ICE on invalid template specialization
- From: "jconner at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2005 18:57:39 -0000
- Subject: [Bug c++/22153] [3.4/4.0/4.1 regression] ICE on invalid template specialization
- References: <bug-22153-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jconner at gcc dot gnu dot org 2005-10-28 18:57 -------
Subject: Bug 22153
Author: jconner
Date: Fri Oct 28 18:57:33 2005
New Revision: 105947
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=105947
Log:
Merged from mainline change #105944:
PR c++/22153
* cp/parser.c (cp_parser_member_declaration): Detect and handle
a template specialization.
* testsuite/g++.dg/template/crash38.C: New test.
* testsuite/g++.dg/parse/explicit1.C: Change expected errors.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/crash38.C
- copied unchanged from r105944, trunk/gcc/testsuite/g++.dg/crash38.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/parser.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/explicit1.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22153