This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37555] [4.2/4.3/4.4 regression] ICE with invalid typedef
- From: "simartin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2008 19:57:36 -0000
- Subject: [Bug c++/37555] [4.2/4.3/4.4 regression] ICE with invalid typedef
- References: <bug-37555-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from simartin at gcc dot gnu dot org 2008-09-30 19:57 -------
Subject: Bug 37555
Author: simartin
Date: Tue Sep 30 19:56:13 2008
New Revision: 140796
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140796
Log:
gcc/cp/
2008-09-30 Simon Martin <simartin@users.sourceforge.net>
PR c++/37555
* decl.c (grokdeclarator): Set the type for typedefs to a
nested-name-specifier to error_mark_node.
gcc/testsuite/
2008-09-30 Simon Martin <simartin@users.sourceforge.net>
PR c++/37555
* g++.dg/parse/error32.C: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/parse/error32.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/decl.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37555