public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30897]  New: [4.1/4.2/4.3 regression] ICE with default argument in template template parameter
@ 2007-02-20 21:24 reichelt at gcc dot gnu dot org
  2007-02-20 21:41 ` [Bug c++/30897] " 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 @ 2007-02-20 21:24 UTC (permalink / raw)
  To: gcc-bugs

The following valid code snippet triggers an ICE since GCC 3.1:

====================================================================
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:7450
Please submit a full bug report, [etc.]

This is related to PR 30044, but here we have a regression.


-- 
           Summary: [4.1/4.2/4.3 regression] ICE with default argument in
                    template template parameter
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-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=30897


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

end of thread, other threads:[~2009-03-30 21:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 21:24 [Bug c++/30897] New: [4.1/4.2/4.3 regression] ICE with default argument in template template parameter reichelt at gcc dot gnu dot org
2007-02-20 21:41 ` [Bug c++/30897] " reichelt at gcc dot gnu dot org
2007-02-20 21:46 ` rguenth at gcc dot gnu dot org
2007-03-05  4:00 ` mmitchel at gcc dot gnu dot org
2007-03-23  0:50 ` mmitchel at gcc dot gnu dot org
2007-09-23 11:53 ` pcarlini at suse dot de
2007-10-29 19:17 ` jason at gcc dot gnu dot org
2007-11-02  5:50 ` jason at gcc dot gnu dot org
2007-11-02  5:58 ` [Bug c++/30897] [4.1/4.2 " jason at gcc dot gnu dot org
2008-07-04 21:59 ` [Bug c++/30897] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 21:38 ` jsm28 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).