https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101504
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>: https://gcc.gnu.org/g:085666673db03c2e53db368d699c47032c6c5f2e commit r12-2495-g085666673db03c2e53db368d699c47032c6c5f2e Author: H.J. Lu <hjl.to...@gmail.com> Date: Thu Jul 22 05:17:27 2021 -0700 x86: Don't return hard register when LRA is in progress Don't return hard register in ix86_gen_scratch_sse_rtx when LRA is in progress to avoid ICE when there are no available hard registers for LRA. gcc/ PR target/101504 * config/i386/i386.c (ix86_gen_scratch_sse_rtx): Don't return hard register when LRA is in progress. gcc/testsuite/ PR target/101504 * gcc.target/i386/pr101504.c: New test.