public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30299]  New: [4.2/4.3 regression] ICE with broken template and inheritance
@ 2006-12-26 11:54 reichelt at gcc dot gnu dot org
  2006-12-26 11:54 ` [Bug c++/30299] " reichelt at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 11:54 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline and 4.2 branch:

==================================
struct A
{
  int i;
};

template<void> struct B : A
{
  B() { this->i; }
};
==================================

bug.cc:6: error: 'void' is not a valid type for a template constant parameter
bug.cc: In constructor 'B<<declaration error> >::B()':
bug.cc:8: internal compiler error: in build_simple_base_path, at cp/class.c:473
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3 regression] ICE with broken template and
                    inheritance
           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=30299


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
2006-12-26 11:54 ` [Bug c++/30299] " reichelt at gcc dot gnu dot org
2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
2007-02-19 20:59 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
2007-09-30 15:50 ` pcarlini at suse dot de
2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
2007-10-16 22:41 ` paolo at gcc dot gnu dot org
2007-10-16 22:44 ` [Bug c++/30299] [4.2 " pcarlini at suse dot de
2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
2008-03-16 17:17 ` rguenth at gcc dot gnu dot org
2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
2009-03-30 20:19 ` 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).