This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] [LRA] Fix wrong-code PR 91109 take 2
On 8/15/19 9:46 PM, Bernd Edlinger wrote:
> as discussed in the PR 91109 audit trail,
> my previous patch missed a case where no spilling is necessary,
> but the re-materialized instruction has now scratch regs without
> a hard register assignment. And thus the LRA pass falls out of
> the loop pre-maturely.
> Fixed by checking for scratch regs with no assignment
> and continuing the loop in that case.
> Boot-strapped and reg-tested on x86_64-pc-linux-gnu and arm-linux-gnueabihf.
> Is it OK for trunk?
Aehm, sorry, I forgot to ask, but is it also OK for the gcc-9 branch ?