This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rtl-opt, i386]: Backport fix for PR 58066, __tls_get_addr is called with misaligned stack on x86-64


On Mon, Jul 20, 2015 at 5:00 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Attached patch backports fixes for PR 58066 to release branches.
>
> 2015-07-XX  Uros Bizjak  <ubizjak@gmail.com>
>
>     Backport from mainline:
>     2015-07-17  Uros Bizjak  <ubizjak@gmail.com>
>
>     PR rtl-optimization/66891
>     * calls.c (expand_call): Wrap precompute_register_parameters with
>     NO_DEFER_POP/OK_DEFER_POP to prevent deferred pops.
>
>     2015-07-15  Uros Bizjak  <ubizjak@gmail.com>
>
>     PR target/58066
>     * config/i386/i386.md (*tls_global_dynamic_64_<mode>): Depend on SP_REG.
>     (*tls_local_dynamic_base_64_<mode>): Ditto.
>     (*tls_local_dynamic_base_64_largepic): Ditto.
>     (tls_global_dynamic_64_<mode>): Update expander pattern.
>     (tls_local_dynamic_base_64_<mode>): Ditto.
>
>     2015-07-15  Uros Bizjak  <ubizjak@gmail.com>
>
>     PR rtl-optimization/58066
>     * calls.c (expand_call): Precompute register parameters before stack
>
> testsuite/ChangeLog:
>
> 2015-07-XX  Uros Bizjak  <ubizjak@gmail.com>
>
>     Backport from mainline:
>     2015-07-17  Uros Bizjak  <ubizjak@gmail.com>
>
>     PR target/66891
>     * gcc.target/i386/pr66891.c: New test.
>
> Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}  for
> all default languages, obj-c++ and go.
>
> OK for branches?

Committed to gcc-5 branch after the patch was approved offline by Jeff.

I will wait a week for possible fallout and then apply the patch to
gcc-49 branch.

Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]