------- 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