------- Comment #1 from cfairles at gcc dot gnu dot org 2008-10-05 12:02 ------- This variant also ice's in same place but issues error first:
ice2.cpp: template<class U, class... T> void f() { f<T...>(); } template<> void f() { } int main() { f<char>(); } ice2.cpp:8: error: template-id f<> for void f() does not match any template declaration ice2.cpp: In function void f() [with U = char, T = ]: ice2.cpp:12: instantiated from here ice2.cpp:4: internal compiler error: tree check: accessed elt 1 of tree_vec with 0 elts in get_innermost_template_args, at cp/pt.c:516 (note: both compiled with -std=c++0x) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37737