[Bug rtl-optimization/124266] [16 Regression] gcc.target/aarch64/torture/pr111677.c fails at -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions after r16-7666

wilco at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 4 20:09:53 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124266

--- Comment #5 from Wilco <wilco at gcc dot gnu.org> ---
Looks like the issue is caused by aarch64_emit_cfi_for_reg_p() - not sure why
it even exists, but it seems incorrect to block emitting frame notes on
registers that we must save/restore... The crash is caused by notes sometimes
getting partially emitted anyway - this mismatch is then detected by dwarf2cfi.


More information about the Gcc-bugs mailing list