The following invalid code snippet triggers an ICE on mainline: =================================================== struct A { template<typename... T> struct B; }; template<typename... T> struct A::B<T*> {}; =================================================== bug.cc:6: error: parameter packs not expanded with `...': bug.cc:6: note: 'T' bug.cc:6: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in cp_parser_class_head, at cp/parser.c:14654 Please submit a full bug report, [etc.]
Update milestone after 4.3.0 release.
4.3.1 is being released, adjusting target milestone.
On it.
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
Fixed for 4.4.0.
4.3.2 is released, changing milestones to 4.3.3.
GCC 4.3.3 is being released, adjusting target milestone.
WONTFIX for 4.3.