https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87949
--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to David Edelsohn from comment #7) > This sounds like the general problem of the first RA pass creating > excessively long live ranges. Yeah. > Does GCC know how to re-materialize a comparison? Not sure... Maybe secondary reloads can help? But there also is TARGET_SELECT_EARLY_REMAT_MODES nowadays, that sounds like just what we need here!