[Bug target/86832] [8/9 Regression] GCC v8.2.0 tries to use native TLS with -fstack-protector-strong on Windows (mingw-w64)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 22 09:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86832
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Nov 22 09:48:43 2018
New Revision: 266370
URL: https://gcc.gnu.org/viewcvs?rev=266370&root=gcc&view=rev
Log:
PR target/85644
PR target/86832
* config/i386/i386.c (ix86_option_override_internal): Default
ix86_stack_protector_guard to SSP_TLS only if TARGET_THREAD_SSP_OFFSET
is defined.
* config/i386/i386.md (stack_protect_set, stack_protect_set_<mode>,
stack_protect_test, stack_protect_test_<mode>): Use empty condition
instead of TARGET_SSP_TLS_GUARD.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.md
More information about the Gcc-bugs
mailing list