https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63661
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |renlin.li at arm dot com --- Comment #22 from Martin Jambor <jamborm at gcc dot gnu.org> --- (In reply to H.J. Lu from comment #21) > It was fixed by r217783 on trunk and the fix also works > on 4.9 branch. Is is the real fix? I am not familiar enough with IRA to be really sure but I would say that yes. This bug really looks as if IRA and LRA chose the same register (r12) for a different thing, which is described as the problem in the email accompanying the patch. The weird sequence clobbering the register certainly goes away with just this patch applied. So let's wait for a week or so if any of the RA people confirm this or have any comments and prepare a backport if they don't.