[Bug middle-end/37843] [4.4 Regression] unaligned stack in main due to tail call optimization
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 15 15:08:00 GMT 2009
------- Comment #23 from jakub at gcc dot gnu dot org 2009-01-15 15:08 -------
Please s/incomoing/incoming/g in the patch. Otherwise the patch makes a lot of
sense to me. As INCOMING_STACK_BOUNDARY is used not only in
expand_stack_alignment, but also in 386's targetm.function_ok_for_sibcall (and
i386 is the only target that has variable INCOMING_STACK_BOUNDARY ATM). This
target hook is called from expand_call, indirectly from
expand_gimple_basic_block. expand_stack_alignment is called after all the
expand_gimple_basic_block calls, and the patch moves INCOMING_STACK_BOUNDARY
initialization before those calls.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37843
More information about the Gcc-bugs
mailing list