https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101797
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Uros Bizjak <u...@gcc.gnu.org>: https://gcc.gnu.org/g:cd04e829c3ae244abd711e2597f8b72d6c58c713 commit r12-2787-gcd04e829c3ae244abd711e2597f8b72d6c58c713 Author: Uros Bizjak <ubiz...@gmail.com> Date: Fri Aug 6 14:21:27 2021 +0200 i386: Fix conditional move reg-to-reg move elimination peepholes [PR101797] Add missing operand predicate, otherwise any RTX will match. 2021-08-06 Uroš Bizjak <ubiz...@gmail.com> gcc/ PR target/101797 * config/i386/i386.md (cmove reg-to-reg move elimination peephole2s): Add general_gr_operand predicate to operand 3. gcc/testsuite/ PR target/101797 * gcc.target/i386/pr101797.c: New test.