public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34753]  New: [4.3 regression] ICE with invalid template parameter in variadic template
@ 2008-01-12 18:15 reichelt at gcc dot gnu dot org
  2008-01-12 18:16 ` [Bug c++/34753] " reichelt at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-12 18:15 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

================================================================
template<typename... T> struct A
{
  template<T> struct B {};
};

A<int>::B<0> b;
================================================================

bug.cc:3: error: parameter packs not expanded with `...':
bug.cc:3: note:         'T'
bug.cc: In instantiation of 'A<int>':
bug.cc:6:   instantiated from here
bug.cc:3: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

The ICE appeared between 2007-11-30 and 2007-12-11.


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


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

end of thread, other threads:[~2008-01-29 14:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-12 18:15 [Bug c++/34753] New: [4.3 regression] ICE with invalid template parameter in variadic template reichelt at gcc dot gnu dot org
2008-01-12 18:16 ` [Bug c++/34753] " reichelt at gcc dot gnu dot org
2008-01-12 18:36 ` reichelt at gcc dot gnu dot org
2008-01-12 19:49 ` rguenth at gcc dot gnu dot org
2008-01-15 16:59 ` dgregor at gcc dot gnu dot org
2008-01-29 14:10 ` dgregor at gcc dot gnu dot org
2008-01-29 14:27 ` dgregor 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).