https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137
--- Comment #16 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Vladimir Makarov <vmaka...@gcc.gnu.org>: https://gcc.gnu.org/g:81d762cbec9685c2f2571da21d48f42c42eff33b commit r13-6804-g81d762cbec9685c2f2571da21d48f42c42eff33b Author: Vladimir N. Makarov <vmaka...@redhat.com> Date: Wed Mar 22 12:33:11 2023 -0400 LRA: Do not repeat inheritance and live range splitting in case of asm error LRA was trying to do live range splitting again and again as there were no enough regs for asm. This patch solves the problem. PR target/109137 gcc/ChangeLog: * lra.cc (lra): Do not repeat inheritance and live range splitting when asm error is found. gcc/testsuite/ChangeLog: * gcc.target/i386/pr109137.c: New.