public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28861]  New: [4.0/4.1/4.2 regression] ICE on invalid in-class specialization
@ 2006-08-26 22:11 reichelt at gcc dot gnu dot org
  2006-08-26 22:16 ` [Bug c++/28861] " 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 @ 2006-08-26 22:11 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 3.4.0:

=================================================
struct A
{
  template<template<int> class B> struct B<0>;
};
=================================================

bug.cc:3: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have bound_template_template_parm in
finish_member_template_decl, at cp/pt.c:228
Please submit a full bug report, [etc.]

Before, the code was wrongly accepted. (The fact that in-class specializations
are allowed at all is tracked in PR 28300.)


-- 
           Summary: [4.0/4.1/4.2 regression] ICE on invalid in-class
                    specialization
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-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=28861


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

end of thread, other threads:[~2008-07-04 15:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-26 22:11 [Bug c++/28861] New: [4.0/4.1/4.2 regression] ICE on invalid in-class specialization reichelt at gcc dot gnu dot org
2006-08-26 22:16 ` [Bug c++/28861] " reichelt at gcc dot gnu dot org
2006-08-31  3:17 ` pinskia at gcc dot gnu dot org
2006-08-31  3:20 ` pinskia at gcc dot gnu dot org
2006-09-01 22:05 ` mmitchel at gcc dot gnu dot org
2006-09-09 13:30 ` lmillward at gcc dot gnu dot org
2006-09-09 13:38 ` patchapp at dberlin dot org
2006-09-21 18:22 ` lmillward at gcc dot gnu dot org
2006-09-21 18:26 ` [Bug c++/28861] [4.0/4.1 " lmillward at gcc dot gnu dot org
2007-02-03 19:37 ` gdr at gcc dot gnu dot org
2007-02-03 20:55 ` pinskia at gcc dot gnu dot org
2007-02-14  9:17 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:52 ` [Bug c++/28861] [4.1 " 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).