https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78572

            Bug ID: 78572
           Summary: internal compiler error: in
                    output_constructor_regular_field, at varasm.c:4968
           Product: gcc
           Version: 6.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: comer352l at googlemail dot com
  Target Milestone: ---

static int array[10] = { array[3]=5, array[7]=3, };

int main ()
{
        return 0;
}

=> leads to the following compilation error:

main.c:7:1: internal compiler error: in output_constructor_regular_field, at
varasm.c:4968
 }
 ^
Please submit a full bug report

Reply via email to