https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100520
Bug ID: 100520 Summary: [11/12 Regression] aarch64: ‘-fcompare-debug’ failure with -fprofile-generate Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- With GCC 11 and trunk I'm seeing the following -fcompare-debug problem: $ cat test.c static int f() {} $ aarch64-linux-gnu-gcc -c test.c -fcompare-debug -fprofile-generate aarch64-linux-gnu-gcc: error: test.c: ‘-fcompare-debug’ failure