https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107482
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Max Filippov <jcmvb...@gcc.gnu.org>: https://gcc.gnu.org/g:01df02a881a0b6d7c5746e717a9d0355ee4e747a commit r11-10399-g01df02a881a0b6d7c5746e717a9d0355ee4e747a 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.c (assign_hard_reg): Only call update_costs_from_copies when retry_p is false. (cherry picked from commit e581490f0cfa80c58d2b648d71a44a597fbe3008)