public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33841]  New: [4.2/4.3 regression] ICE with non-integral bit-field
@ 2007-10-20 22:00 reichelt at gcc dot gnu dot org
  2007-10-20 22:00 ` [Bug c++/33841] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-10-20 22:00 UTC (permalink / raw)
  To: gcc-bugs

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

===============================
template<int> struct A
{
  struct {} : 2;
};

struct B : A<0> {};
===============================

bug.cc: In instantiation of 'A<0>':
bug.cc:6:   instantiated from here
bug.cc:3: error: bit-field 'A<0>::<anonymous struct> A<0>::<anonymous>' with
non-integral type
bug.cc:6: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

The bug is related to PR33840.


-- 
           Summary: [4.2/4.3 regression] ICE with non-integral bit-field
           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=33841


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

end of thread, other threads:[~2009-03-31  0:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-20 22:00 [Bug c++/33841] New: [4.2/4.3 regression] ICE with non-integral bit-field reichelt at gcc dot gnu dot org
2007-10-20 22:00 ` [Bug c++/33841] " reichelt at gcc dot gnu dot org
2007-10-27 17:34 ` jakub at gcc dot gnu dot org
2007-10-29 21:41 ` jakub at gcc dot gnu dot org
2007-10-29 21:44 ` [Bug c++/33841] [4.2 " jakub at gcc dot gnu dot org
2008-02-01 17:00 ` jsm28 at gcc dot gnu dot org
2008-03-16 17:35 ` rguenth at gcc dot gnu dot org
2008-05-19 20:30 ` jsm28 at gcc dot gnu dot org
2009-03-31  0:33 ` 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).