[Bug target/57018] [4.8/4.9 Regression] Miscompilation of bison 2.7.1 under "-Os -fomit-frame-pointer"
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 22 08:47:00 GMT 2013
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.
More information about the Gcc-bugs
mailing list