https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100533
Bug ID: 100533 Summary: [10/11/12 Regression] aarch64: -fcompare-debug failure with -O -fmodulo-sched Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails: $ cat test.cc short arr_747[7][15]; void init() { for (long i_0 = 0; i_0 < 2; ++i_0) for (long i_1 = 0; i_1 < 14; ++i_1) arr_747[i_0][i_1] = 1; } $ aarch64-linux-gnu-gcc -c test.cc -fcompare-debug -O -fmodulo-sched aarch64-linux-gnu-gcc: error: test.cc: ‘-fcompare-debug’ failure Maybe related to PR100523 in that both require -fmodulo-sched (although it's not clear at this stage).