public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34756]  New: [4.3 regression] ICE with broken specialization of variadic template
@ 2008-01-12 18:44 reichelt at gcc dot gnu dot org
  2008-01-13 15:40 ` [Bug c++/34756] " rguenth 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-12 18:44 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline:

================================================================
template<typename...> class A {};

template<int> class A<> {};

template<typename T, typename...U> struct A<T,U...> : A<U...>
{
  A() {}
};

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

bug.cc:3: error: template parameters not used in partial specialization:
bug.cc:3: error:         '<anonymous>'
bug.cc: In constructor 'A<T, U ...>::A() [with T = int, U = ]':
bug.cc:10:   instantiated from here
bug.cc:7: internal compiler error: in build_simple_base_path, at cp/class.c:489
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] ICE with broken 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=34756


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

end of thread, other threads:[~2010-05-22 18:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-12 18:44 [Bug c++/34756] New: [4.3 regression] ICE with broken specialization of variadic template reichelt at gcc dot gnu dot org
2008-01-13 15:40 ` [Bug c++/34756] " rguenth at gcc dot gnu dot org
2008-01-15 16:37 ` dgregor at gcc dot gnu dot org
2008-03-15  0:44 ` [Bug c++/34756] [4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-06-06 15:01 ` rguenth at gcc dot gnu dot org
2008-08-27 22:13 ` jsm28 at gcc dot gnu dot org
2008-12-02 17:58 ` jason at gcc dot gnu dot org
2009-01-24 10:22 ` rguenth at gcc dot gnu dot org
2009-08-04 12:43 ` [Bug c++/34756] [4.3/4.4/4.5 " rguenth at gcc dot gnu dot org
2010-05-13 17:55 ` paolo dot carlini at oracle dot com
2010-05-22 18:21 ` 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).