https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112875
--- Comment #4 from GCC 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:48cb51827c9eb991b92014a3f59d31eb237ce03f commit r14-6347-g48cb51827c9eb991b92014a3f59d31eb237ce03f Author: Vladimir N. Makarov <vmaka...@redhat.com> Date: Fri Dec 8 15:37:42 2023 -0500 [PR112875][LRA]: Fix an assert in lra elimination code PR112875 test ran into a wrong assert (gcc_unreachable) in elimination in a debug insn. The insn seems ok. So I change the assertion. To be more accurate I made it the same as analogous reload pass code. gcc/ChangeLog: PR rtl-optimization/112875 * lra-eliminations.cc (lra_eliminate_regs_1): Change an assert. Add ASM_OPERANDS case. gcc/testsuite/ChangeLog: PR rtl-optimization/112875 * gcc.target/i386/pr112875.c: New test.