[Bug c++/29002] New: [4.0/4.1/4.2 regression] ICE on array of ptr-to-member of unknown size

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 10 10:21:00 GMT 2006


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

================
struct A {};
int A::* x[];
================

bug.cc:2: internal compiler error: in build_zero_init, at cp/init.c:226
Please submit a full bug report, [etc.]


-- 
           Summary: [4.0/4.1/4.2 regression] ICE on array of ptr-to-member
                    of unknown size
           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=29002



More information about the Gcc-bugs mailing list