https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107482
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Max Filippov <jcmvb...@gcc.gnu.org>: https://gcc.gnu.org/g:bd6963543042ce713d290c23e098de84865a287f commit r10-11100-gbd6963543042ce713d290c23e098de84865a287f 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)