http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57018
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-22 08:47:09 UTC --- BTW, with reload on current trunk, bar has identical code, except for the right leal 32(%esp), %esi instead of the wrong leal 16(%esp), %esi. It seems that with reload, elimination_effects is called both during IRA costs analysis and later on during actual elimination, while with LRA only IRA costs analysis calls it. And I don't see code in lra-eliminations.c that would adjust ep->offset based on say sp adjustments in the code.