https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91178
Bug ID: 91178 Summary: GCC fails with internal compiler error. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: vsevolod.livinskij at frtk dot ru Target Milestone: --- GCC fails with an internal compiler error. Sometimes the compilation takes about 5 minutes before it fails. Everything works fine with -O2. Reproducer: int a; extern int f[10][91125]; int b[50]; void c() { for (int d = 6; d <= a; d++) for (int e = 16; e <= 24; e++) b[e] -= f[d][d]; } Error: >$ gcc -c -O3 small.c gcc: internal compiler error: Segmentation fault signal terminated program cc1 GCC version: gcc version 10.0.0 (revision: 273474)