https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104154
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Robin Dapp <rd...@gcc.gnu.org>: https://gcc.gnu.org/g:2240ebd8e46e098f972a662d0aad85348b304889 commit r12-7420-g2240ebd8e46e098f972a662d0aad85348b304889 Author: Robin Dapp <rd...@linux.ibm.com> Date: Mon Feb 7 08:39:41 2022 +0100 arc: Fix for new ifcvt behavior [PR104154] ifcvt now passes a CC-mode "comparison" to backends. This patch simply returns from gen_compare_reg () in that case since nothing needs to be prepared anymore. gcc/ChangeLog: PR rtl-optimization/104154 * config/arc/arc.cc (gen_compare_reg): Return the CC-mode comparison ifcvt passed us.