https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79430
--- Comment #81 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #79) > Created attachment 41269 [details] > gcc7-pr79430.patch > > Untested patch meant for 7.x, which just modifies reg-stack.c and nothing > else. > Unlike the above patch which seems to affect also scheduling a lot, this one > doesn't. Looks good, the test passes now.