On Thu, Jan 11, 2018 at 10:17 PM, H.J. Lu wrote:
> On Thu, Jan 11, 2018 at 11:07 AM, Uros Bizjak wrote:
>> On Wed, Jan 10, 2018 at 9:40 PM, H.J. Lu wrote:
>>> When a function call is removed, it may become a leaf function. But if
>>> argument may be passed on stack, we need to align the stack f
s passed on stack.
>>
>> gcc/testsuite/
>>
>> PR target/83330
>> * gcc.target/i386/pr83330.c: New test.
>
> LGTM.
>
Here is the backport for GCC 7. OK for gcc-7-branch after a few days?
Thanks.
--
H.J.
From 28be904309cb8e6568e26f47a9746c7
On Wed, Jan 10, 2018 at 9:40 PM, H.J. Lu wrote:
> When a function call is removed, it may become a leaf function. But if
> argument may be passed on stack, we need to align the stack frame when
> there is no tail call.
>
> Tested on Linux/i686 and Linux/x86-64.
>
> OK for trunk?
>
> H.J.
> ---
>
When a function call is removed, it may become a leaf function. But if
argument may be passed on stack, we need to align the stack frame when
there is no tail call.
Tested on Linux/i686 and Linux/x86-64.
OK for trunk?
H.J.
---
gcc/
PR target/83330
* config/i386/i386.c (ix86_com