This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/58066] __tls_get_addr is called with misaligned stack on x86-64
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Jul 2015 18:52:28 +0000
- Subject: [Bug target/58066] __tls_get_addr is called with misaligned stack on x86-64
- Auto-submitted: auto-generated
- References: <bug-58066-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066
--- Comment #19 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Jul 23 18:51:56 2015
New Revision: 226119
URL: https://gcc.gnu.org/viewcvs?rev=226119&root=gcc&view=rev
Log:
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:
Backport from mainline:
2015-07-17 Uros Bizjak <ubizjak@gmail.com>
PR target/66891
* gcc.target/i386/pr66891.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.target/i386/pr66891.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/calls.c
branches/gcc-5-branch/gcc/config/i386/i386.md
branches/gcc-5-branch/gcc/testsuite/ChangeLog