https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84157
--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> --- Hi Tom, That looks good. But maybe the REG_P check should be in the outer "if"? Slightly easier and safer to exit as early as possible.