More fallout from the variadic templates on mainline:
===========================================================
template<int, typename... T> struct A
{
template<int N> void foo(A<N,T>);
};
void bar()
{
A<0,int>().foo(A<0,int>());
};
===========================================================
bug.cc:3: error: parameter packs not expanded with `...':
bug.cc:3: note: 'T'
bug.cc: In function 'void bar()':
bug.cc:8: internal compiler error: tree check: accessed elt 2 of tree_vec with
1 elts in unify, at cp/pt.c:12126
Please submit a full bug report, [etc.]
Although this ICE is also in unify as PR31441 and PR31442,
it's in a different location.
--
Summary: [4.3 regression] ICE with invalid use of parameter pack
in member template
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31443