public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35241]  New: [4.3 regression] ICE with sizeof in variadic template
@ 2008-02-17 22:58 reichelt at gcc dot gnu dot org
  2008-02-17 22:58 ` [Bug c++/35241] " reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-17 22:58 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

===================================================
template<typename... T> struct A
{
  enum { e = sizeof(T) };
};

A<int> a;
===================================================

bug.cc: In instantiation of 'A<int>':
bug.cc:6:   instantiated from here
bug.cc:3: internal compiler error: in dependent_type_p, at cp/pt.c:15553
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] ICE with sizeof in variadic template
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, 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=35241


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

end of thread, other threads:[~2009-05-05 21:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17 22:58 [Bug c++/35241] New: [4.3 regression] ICE with sizeof in variadic template reichelt at gcc dot gnu dot org
2008-02-17 22:58 ` [Bug c++/35241] " reichelt at gcc dot gnu dot org
2008-02-17 23:04 ` rguenth at gcc dot gnu dot org
2008-03-15  0:44 ` [Bug c++/35241] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-06-06 15:04 ` rguenth at gcc dot gnu dot org
2008-08-27 22:07 ` jsm28 at gcc dot gnu dot org
2009-01-24 10:26 ` rguenth at gcc dot gnu dot org
2009-05-05 21:13 ` [Bug c++/35241] [4.3/4.4/4.5 " reichelt 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).