https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118067
--- Comment #7 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- I've been working on thr PR this week. The case is complicated as it contains cycle of reloads of more one step length. LRA has a mechanism to avoid choosing insn alternatives which can results in a loop. But the loop should be simple, containing just one step. I still hope to fix it on this week.