https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97497
--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- Created attachment 49402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49402&action=edit Proposed fix With the patch only regs are considered which aren't "fixed" assuming that for fixed_regs the backend takes care of only actually using the well-defined part of the hard regs.