[Bug target/63890] [4.9/5.0 regression] Compiling trivial program with -O -p leads to misaligned stack
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 15 16:01:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63890
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |evstupac at gmail dot com
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> ---
confirmed on x86_64-darwin12 (217256 gcc04.9 and recent trunk).
this would presumably affect targets other than darwin, too.
looks like the call to the pic base is both (a) unnecessary and (b) hoisted too
early in the routine. Having said that, the call to mvount would fail if the
thunk call was dropped.
possibly? more fallout from the EBX changes? (maybe not, but worth a look).
More information about the Gcc-bugs
mailing list