[Bug target/37010] -mno-accumulate-outgoing-args doesn't work with stack alignment

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 4 21:30:00 GMT 2008



------- Comment #13 from hjl dot tools at gmail dot com  2008-08-04 21:29 -------
The previous ix86_compute_frame_layout uses

  /* Align start of frame for local function.  */
  frame->padding1 = ((offset + stack_alignment_needed - 1)
                     & -stack_alignment_needed) - offset;

to align the stack offset. That was correct since before stack alignment
merge, the outgoing stack alignment is no bigger than the incoming stack
alignment. That is no longer true after stack alignment merge.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37010



More information about the Gcc-bugs mailing list