code,

template <int N, typename... P> struct i { typedef i t; };

template <typename I> struct n;

template <typename... E, int N> struct n<i<N, E...> > : i<N+1, E...> { };

template <typename... E> struct n<i<sizeof...(E), E...> > : i<sizeof...(E),
E...> { };

typedef i<1, char>  t;
typedef n<t>::t     x;

leads to "internal compiler error: tree check: expected tree_vec, have
type_pack_expansion in tsubst_copy_and_build, at cp/pt.c:10829"


-- 
           Summary: ICE with partial specialization of variadic templates
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sultansharem at gmx dot ch


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

Reply via email to