https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114664
--- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> --- CC'ing some architecture and RA experts for their input. I believe the riscv64 test showing the same issue would be: void bug (void) { __asm__ volatile ("" : : : "s0"); } ...but I don't have a cross compiler right now to verify. Interestingly, I tried what I thought would be the aarch64 test case (clobbering x29), but it did not ICE. Did I use the wrong hard frame pointer register or is aarch64 doing something different here?