https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71815
--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- I have a prototype that fixes this in the obvious way and it causes both slsr-35.c and slsr-36.c to pass again without turning off code hoisting. I'll do a regstrap and then work on some benchmark testing. I'll post the patch here for others to try when I get that far.