https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124266
--- Comment #10 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- (In reply to Wilco from comment #9) > Eg. GCC13 generates: https://godbolt.org/z/qexq61E47 > > You can clearly see that the cfi notes are totally wrong even without the > new ldp pass... That's the intended behaviour though. The ABI is that the extra register state is only preserved by normal returns, not by exceptional returns. The .eh_frame information therefore only describes the base PCS set.
