This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19762] [3.4 regression] ICE in invalid explicit instantiation of a destructor
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2005 19:40:31 -0000
- Subject: [Bug c++/19762] [3.4 regression] ICE in invalid explicit instantiation of a destructor
- References: <bug-19762-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from reichelt at gcc dot gnu dot org 2005-12-07 19:40 -------
Subject: Bug 19762
Author: reichelt
Date: Wed Dec 7 19:40:24 2005
New Revision: 108174
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108174
Log:
PR c++/19397
PR c++/19762
PR c++/19764
* parser.c (cp_parser_declarator_id): Check for error_mark_node
before building a SCOPE_REF.
* g++.dg/template/typedef3.C: New test.
* g++.dg/template/dtor3.C: Fix error markers.
Added:
branches/gcc-3_4-branch/gcc/testsuite/g++.dg/template/typedef3.C
Modified:
branches/gcc-3_4-branch/gcc/cp/ChangeLog
branches/gcc-3_4-branch/gcc/cp/parser.c
branches/gcc-3_4-branch/gcc/testsuite/ChangeLog
branches/gcc-3_4-branch/gcc/testsuite/g++.dg/template/dtor3.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19762