https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71657
--- Comment #12 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to mpf from comment #11) > (In reply to Tom de Vries from comment #10) > > Meaning that this PR may still occur for the other archs that define the > > target hook: mips and arc. > > > > Shouldn't we disable this optimization in the common code? > > Thanks for the cc Tom. > > Is there any indication of what is going wrong in LRA in the failing cases? I don't know, I haven't done root cause analysis on this example. I did do root cause analysis for a PR I just filed, which I suspect is a duplicate of this one: PR 83327 - "Spilling into hard regs not taken into account in lra liveness analysis". That one looks like a generic bug to me.