The following snippet ICE's:

void f() { }

template<class U, class... T>
void f(){ f<T...>(); }

int main()
{ 
  f<char>();
}


tree check: 
accessed elt 1 of tree_vec with 0 elts in get_innermost_template_args
at cp/pt.c:516

Is this ice-on-valid or will f<>() not be picked up by the non-template
function?


-- 
           Summary: ICE on variadic template function
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cfairles at gcc dot gnu dot org
 GCC build triplet: x86_64-redhat-linux
  GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37737

Reply via email to