https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96834
Bug ID: 96834 Summary: ICE: Segmentation fault signal terminated program cc1 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: duanbo3 at huawei dot com Target Milestone: --- Hi,gcc-trunk ICEs when compiling the following testcase with -O3 on aarch64 or x86: Testcase: extern int a[][1000000]; int b; void c() { for (int d = 2; d <= 9; d++) for (int e = 32; e <= 41; e++) b += a[d][5]; } produces the error: aarch64: aarch64-linux-gnu-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. x86: x86_64-pc-linux-gnu-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. any suggestion