https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96893
Bug ID: 96893 Summary: aarch64:Segmentation fault signal terminated program cc1 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: z.zhanghaijian at huawei dot com Target Milestone: --- The case like: test.c: int f300001() { } void f300000() { printf("300000\n"); f300001(); } void f299999() { printf("299999\n"); f300000(); } void f299998() { printf("299998\n"); f299999(); } void f299997() { printf("299997\n"); f299998(); } ... void f10() { printf("10\n"); f11(); } void f9() { printf("9\n"); f10(); } void f8() { printf("8\n"); f9(); } void f7() { printf("7\n"); f8(); } void f6() { printf("6\n"); f7(); } void f5() { printf("5\n"); f6(); } void f4() { printf("4\n"); f5(); } void f3() { printf("3\n"); f4(); } void f2() { printf("2\n"); f3(); } void f1() { printf("1\n"); f2(); } int main(int argc, char** argv){ f1(); } This produces the error on aarch64: gcc test.c -S -w 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. gcc version 11.0.0 20200902 (experimental) (GCC)