Vladimir Makarov <vmaka...@redhat.com> writes: > On 2020-12-10 10:12 a.m., Andrea Corallo wrote: >> Hi all, >> >> following discussion on PR97092 I'd like to submit the following patch >> with a fix plus associated testcase. >> >> With this patch applied mode is recomputed at each iteration while >> looping across different copies in 'update_costs_from_allocno', this >> instead of carrying mode over subsequent iterations. >> >> bootstrapped and regtested on aarch64-unknown-linux-gnu. >> >> Okay for trunk? >> > Yes. > > The patch is safe.. Thank you for working on the PR.
Hi Vladimir, the same patch cleanly applies on gcc-10 where the same bug is present. I bootstrapped and regtested gcc-10 on aarch64-unknown-linux-gnu. Is it okay to backport? Thanks Andrea