https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113613
Richard Sandiford <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org --- Comment #7 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- early-ra does try to avoid reusing registers too soon, to increase scheduling freedom. But in this case I imagine it handles the two statements as separate regions. Should be fixable by carrying across a round-robin counter.