public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35813]  New: ICE with partial specialization of variadic templates
@ 2008-04-03 13:07 sultansharem at gmx dot ch
  2008-04-20 19:42 ` [Bug c++/35813] " reichelt at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: sultansharem at gmx dot ch @ 2008-04-03 13:07 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-15 16:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-03 13:07 [Bug c++/35813] New: ICE with partial specialization of variadic templates sultansharem at gmx dot ch
2008-04-20 19:42 ` [Bug c++/35813] " reichelt at gcc dot gnu dot org
2008-04-20 19:46 ` [Bug c++/35813] [4.3 regression] " pinskia at gcc dot gnu dot org
2008-04-28  4:38 ` mmitchel at gcc dot gnu dot org
2008-06-06 15:04 ` rguenth at gcc dot gnu dot org
2008-08-27 22:08 ` jsm28 at gcc dot gnu dot org
2009-01-15 16:08 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).