https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124701
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> --- Created attachment 64450 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64450&action=edit different testcase $ aarch64-unknown-linux-gnu-gcc -mearly-ra=all -fnon-call-exceptions -ffloat-store -fsanitize-coverage=trace-pc -frounding-math testcase2.c during RTL pass: early_ra testcase2.c: In function 'foo': testcase2.c:9:1: internal compiler error: in replace_regs, at config/aarch64/aarch64-early-ra.cc:3238 9 | } | ^ 0x28c02ad internal_error(char const*, ...) /repo/gcc-trunk/gcc/diagnostic-global-context.cc:787 0xca6d3f fancy_abort(char const*, int, char const*) /repo/gcc-trunk/gcc/diagnostics/context.cc:1813 0xa070ee replace_regs /repo/gcc-trunk/gcc/config/aarch64/aarch64-early-ra.cc:3238 0x1a97246 apply_allocation /repo/gcc-trunk/gcc/config/aarch64/aarch64-early-ra.cc:3480 0x1a97246 process_region /repo/gcc-trunk/gcc/config/aarch64/aarch64-early-ra.cc:3535 0x1a9b83e process_blocks /repo/gcc-trunk/gcc/config/aarch64/aarch64-early-ra.cc:3891 0x1a9b83e execute /repo/gcc-trunk/gcc/config/aarch64/aarch64-early-ra.cc:3910 0x1a9b83e execute /repo/gcc-trunk/gcc/config/aarch64/aarch64-early-ra.cc:3946 /repo/gcc-trunk/binary-trunk-20260512192850-g2502a459db5-checking-yes-rtl-df-extra-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/17.0.0/cc1 -quiet -iprefix /repo/gcc-trunk/binary-trunk-20260512192850-g2502a459db5-checking-yes-rtl-df-extra-aarch64/bin/../lib/gcc/aarch64-unknown-linux-gnu/17.0.0/ testcase2.c -quiet -dumpdir a- -dumpbase testcase2.c -dumpbase-ext .c -mearly-ra=all -mlittle-endian -mabi=lp64 -fnon-call-exceptions -ffloat-store -fsanitize-coverage=trace-pc -frounding-math -o /tmp/cckchPOZ.s Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
