https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113357

--- Comment #9 from Mikael Pettersson <mikpelinux at gmail dot com> ---
(In reply to Manolis Tsamis from comment #8)
> Created attachment 58335 [details]
> Do not modify live_out registers
> 
> After looking again at the dumps from PR112415, which I believe is closely
> related to the issue here, I saw that while f-m-o was checking the uses of
> the folded registers, it was still modifying registers that were at the BB's
> live_out set.
> 
> I have attached a patch that I'm testing for addressing this. Could you
> please check if this fixes this issue?

I'm starting a bootstrap on m68k-linux-gnu with this now, should know by Friday
if it resolves the issue or not. (It's running in full-system emulation mode on
Aranym, so it's slow.)

Reply via email to