https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96796
Bug ID: 96796 Summary: aarch64: ICE during RTL pass: reload Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: yangyang305 at huawei dot com Target Milestone: --- Created attachment 49129 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49129&action=edit ICE testcase Hi, gcc-9.3.0 ICEs when compiling the attached testcase with -Os on aarch64. gcc -Os test.i during RTL pass: reload test.c: In function ‘func_50.isra.0.constprop’: test.c:1852:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90) 0x936ddf lra_constraints(bool) ../../gcc-9.3.0/gcc/lra-constraints.c:4901 0x92144f lra(_IO_FILE*) ../../gcc-9.3.0/gcc/lra.c:2472 0x8e083f do_reload ../../gcc-9.3.0/gcc/ira.c:5523 0x8e083f execute ../../gcc-9.3.0/gcc/ira.c:5707 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.