public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35025]  New: [4.3 regression] ICE with invalid specialization of variadic template
@ 2008-01-30  0:42 reichelt at gcc dot gnu dot org
  2008-01-30  0:44 ` [Bug c++/35025] " reichelt at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-30  0:42 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline since today:

=============================================================
template<typename...> struct A;

template<typename...T> struct A<T*>
{
  A() {}
};
=============================================================

bug.cc:3: error: parameter packs not expanded with `...':
bug.cc:3: note:         'T'
bug.cc:4: error: parameter packs not expanded with `...':
bug.cc:4: note:         'T'
bug.cc:5: error: parameter packs not expanded with `...':
bug.cc:5: note:         'T'
bug.cc: In constructor 'A<T*>::A()':
bug.cc:5: internal compiler error: in start_preparsed_function, at
cp/decl.c:11279
Please submit a full bug report, [etc.]

Btw, the testcase is the same as in the first comment of PR32125.


-- 
           Summary: [4.3 regression] ICE with invalid specialization of
                    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=35025


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

end of thread, other threads:[~2009-04-22 15:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-30  0:42 [Bug c++/35025] New: [4.3 regression] ICE with invalid specialization of variadic template reichelt at gcc dot gnu dot org
2008-01-30  0:44 ` [Bug c++/35025] " reichelt at gcc dot gnu dot org
2008-01-30 10:10 ` rguenth at gcc dot gnu dot org
2008-02-14 21:45 ` dgregor at gcc dot gnu dot org
2008-03-15  0:44 ` [Bug c++/35025] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-05-18 21:57 ` [Bug c++/35025] [4.3 " reichelt at gcc dot gnu dot org
2008-06-06 15:01 ` rguenth at gcc dot gnu dot org
2008-08-27 22:09 ` jsm28 at gcc dot gnu dot org
2008-12-02 17:59 ` jason at gcc dot gnu dot org
2009-01-24 10:23 ` rguenth at gcc dot gnu dot org
2009-04-22 15:24 ` 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).