http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51215

             Bug #: 51215
           Summary: [4.7 Regression] ICE with invalid array initializer
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: reich...@gcc.gnu.org


The following invalid line of code triggers an ICE on trunk:

==========================
int x[] = { [0.] {} };
==========================

bug.cc:1:14: error: expected identifier before numeric constant
bug.cc:1:21: internal compiler error: in check_array_designated_initializer, at
cp/decl.c:4679
Please submit a full bug report, [etc.]

Reply via email to