The following invalid code snippet causes an ICE since GCC 4.1.0:

=========================
int i = (int()){0};
=========================

bug.cc:1: internal compiler error: in digest_init, at cp/typeck2.c:718
Please submit a full bug report, [etc.]

This is probably fallout from PR23172.


-- 
           Summary: [4.1/4.2 regression] ICE on invalid initializer
           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=27807

Reply via email to