This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32560] [4.3 regression] ICE on invalid declaration in template
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2007 09:18:52 -0000
- Subject: [Bug c++/32560] [4.3 regression] ICE on invalid declaration in template
- References: <bug-32560-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from paolo at gcc dot gnu dot org 2007-07-11 09:18 -------
Subject: Bug 32560
Author: paolo
Date: Wed Jul 11 09:18:39 2007
New Revision: 126542
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126542
Log:
/cp
2007-07-11 Paolo Carlini <pcarlini@suse.de>
PR c++/32560
* parser.c (cp_parser_make_indirect_declarator): When the
the code argument is ERROR_MARK return cp_error_declarator.
/testsuite
2007-07-11 Paolo Carlini <pcarlini@suse.de>
PR c++/32560
* g++.dg/template/decl3.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/decl3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32560