https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78213
Bug ID: 78213 Summary: -fself-test fails on aarch64 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org Target Milestone: --- Running aarch64-none-linux-gnu-gcc -fself-test -S dummy.c gives an error: $SRC/gcc/rtl-tests.c:96: test_dumping_regs: FAIL: ASSERT_STREQ (expected_dump, dump) expected="(reg:DI virtual-incoming-args)" actual="(reg/f:DI virtual-incoming-args)" cc1: internal compiler error: in fail_formatted, at selftest.c:62 0x124bf56 selftest::fail_formatted(selftest::location const&, char const*, ...) $SRC/gcc/selftest.c:62 0x124bfda selftest::assert_streq(selftest::location const&, char const*, char const*, char const*, char const*) $SRC/gcc/selftest.c:86 0x1238de5 assert_rtl_dump_eq $SRC/gcc/rtl-tests.c:73 0x1239449 test_dumping_regs $SRC/gcc/rtl-tests.c:96 0x1239449 selftest::rtl_tests_c_tests() $SRC/gcc/rtl-tests.c:193 0x11eee9e selftest::run_tests() $SRC/gcc/selftest-run-tests.c:65 0xb4216b toplev::run_self_tests() $SRC/gcc/toplev.c:2076 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Looks like the 'actual' dump has a /f on it indicating that it's a frame-related RTX, causing the string comparison to fail