Re: [PATCH] i386: Also adjust stack frame for stack slot alignment

2018-01-09 Thread Uros Bizjak
On Tue, Jan 9, 2018 at 10:29 PM, H.J. Lu wrote: > We should also adjust stack_realign_offset for the largest alignment of > stack slot actually used when stack realignment isn't needed. This is > required to keep stack frame properly aligned to satisfy the largest > alignment of stack slots. > >

[PATCH] i386: Also adjust stack frame for stack slot alignment

2018-01-09 Thread H.J. Lu
We should also adjust stack_realign_offset for the largest alignment of stack slot actually used when stack realignment isn't needed. This is required to keep stack frame properly aligned to satisfy the largest alignment of stack slots. Tested on Linux/i686 and Linux/x86-64. OK for trunk? Thank