https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125958
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <[email protected]>: https://gcc.gnu.org/g:4bc8475a3e0722eedcbc74b2d5116ef5f7586a9f commit r17-1798-g4bc8475a3e0722eedcbc74b2d5116ef5f7586a9f Author: H.J. Lu <[email protected]> Date: Wed Jun 24 06:45:11 2026 +0800 x86: Require GPR as previous scratch register in LCP stall peepholes Require general purpose register as previous scratch register in LCP stall peepholes. gcc/ PR target/125958 * config/i386/i386-expand.cc (ix86_expand_lcp_stall_peephole): Replace !REG_P (dest) with !GENERAL_REG_P (dest). gcc/testsuite/ PR target/125958 * gcc.target/i386/pr125958.c: New test. Signed-off-by: H.J. Lu <[email protected]>
