https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69847
--- Comment #13 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- Hi, on the next week I am going to commit the patch I've just attached. The final version of the patch will have more comments. With the patch LRA generates the same code for the test case as reload (the only difference is in difference of used hard registers for some insns). So you can try the patch. Sorry, for the long delay. It took more time than I planned originally.