https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302
--- Comment #16 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Created attachment 52518 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52518&action=edit Candidate patch The problem is in undo_optional_reloads. Here's a fix I'm testing.