This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35242] [4.3/4.4 regression] ICE with invalid specialization of variadic 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: 8 Jun 2008 21:26:35 -0000
- Subject: [Bug c++/35242] [4.3/4.4 regression] ICE with invalid specialization of variadic template
- References: <bug-35242-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from paolo at gcc dot gnu dot org 2008-06-08 21:26 -------
Subject: Bug 35242
Author: paolo
Date: Sun Jun 8 21:25:49 2008
New Revision: 136569
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136569
Log:
/cp
2008-06-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/35242
* pt.c (maybe_process_partial_specialization): Check the tree
returned by push_template_decl for error_mark_node.
* parser.c (cp_parser_class_head): Likewise, check the tree
returned by the latter.
/testsuite
2008-06-08 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/35242
* g++.dg/cpp0x/vt-35242.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/vt-35242.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35242