public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34052]  New: [4.3 regression] Trouble with variadic templates as template-template parameter
@ 2007-11-10 17:36 reichelt at gcc dot gnu dot org
  2007-11-10 17:37 ` [Bug c++/34052] " reichelt at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-11-10 17:36 UTC (permalink / raw)
  To: gcc-bugs

The following code snippet is IMHO wrongly accepted on mainline:

=====================================================================
template<template<typename... T, typename = T> class U> struct A {};
=====================================================================

A slightly modified example ICE's:

=====================================================================
template<template<typename... T, typename = T> class U> struct A
{
  template<int> U<int> foo();
};
=====================================================================

bug.cc:3: internal compiler error: in tsubst, at cp/pt.c:8466
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3 regression] Trouble with variadic templates as
                    template-template parameter
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, accepts-invalid, 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=34052


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

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

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-10 17:36 [Bug c++/34052] New: [4.3 regression] Trouble with variadic templates as template-template parameter reichelt at gcc dot gnu dot org
2007-11-10 17:37 ` [Bug c++/34052] " reichelt at gcc dot gnu dot org
2007-11-19  4:17 ` pinskia at gcc dot gnu dot org
2007-11-27  5:59 ` mmitchel at gcc dot gnu dot org
2007-12-02 20:58 ` pinskia at gcc dot gnu dot org
2007-12-20 21:01 ` dgregor at gcc dot gnu dot org
2008-01-03 16:25 ` rguenth at gcc dot gnu dot org
2008-01-03 17:19 ` mmitchel at gcc dot gnu dot org
2008-01-11 15:58 ` dgregor at gcc dot gnu dot org
2008-01-12 19:34 ` andreasmeier80 at gmx dot de
2008-01-15  1:04 ` dgregor at gcc dot gnu dot org
2008-01-15 16:33 ` dgregor at gcc dot gnu dot org
2008-01-15 16:35 ` 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).