Re: [PATCH] PR target/82166: Update preferred stack boundary for leaf functions

2017-09-17 Thread Uros Bizjak
On Mon, Sep 11, 2017 at 3:57 AM, H.J. Lu wrote: > preferred_stack_boundary may not be the minimum stack alignment. For > leaf functions without TLS access, max_used_stack_slot_alignment may be > smaller. We should update preferred_stack_boundary for leaf functions. > > Tested on i686 and x86-64.

[PATCH] PR target/82166: Update preferred stack boundary for leaf functions

2017-09-10 Thread H.J. Lu
preferred_stack_boundary may not be the minimum stack alignment. For leaf functions without TLS access, max_used_stack_slot_alignment may be smaller. We should update preferred_stack_boundary for leaf functions. Tested on i686 and x86-64. OK for trunk? H.J. --- gcc/ PR target/82166