[Bug target/85644] [8 Regression] -fstack-protector generates invalid read to %fs:0x0 on mac
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 8 09:57:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85644
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 8 09:56:36 2019
New Revision: 267686
URL: https://gcc.gnu.org/viewcvs?rev=267686&root=gcc&view=rev
Log:
Backported from mainline
2018-11-22 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/i386/i386.c
branches/gcc-8-branch/gcc/config/i386/i386.md
More information about the Gcc-bugs
mailing list