https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107482
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Max Filippov <jcmvb...@gcc.gnu.org>: https://gcc.gnu.org/g:e581490f0cfa80c58d2b648d71a44a597fbe3008 commit r13-3801-ge581490f0cfa80c58d2b648d71a44a597fbe3008 Author: Max Filippov <jcmvb...@gmail.com> Date: Mon Nov 7 13:58:49 2022 -0800 gcc: fix PR rtl-optimization/107482 gcc/ PR rtl-optimization/107482 * ira-color.cc (assign_hard_reg): Only call update_costs_from_copies when retry_p is false.