mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-03 08:44:23 +08:00
0411ae7f08
The recent changes to error on mixing -march=i386 and -fcf-protection broke bootstrap. This patch changes lib{atomic,gomp,itm} configury, so that it only adds -march=i486 to flags if really needed (i.e. when 486 or later isn't on by default already). Similarly, it will not use ifuncs if -mcx16 (or -march=i686 for 32-bit) is on by default. 2021-01-15 Jakub Jelinek <jakub@redhat.com> PR target/70454 libatomic/ * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to be added through preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. Determine if try_ifunc is needed based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8. libgomp/ * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to be added through preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. libitm/ * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to be added through preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. |
||
---|---|---|
.. | ||
config | ||
testsuite | ||
aatree.cc | ||
aatree.h | ||
acinclude.m4 | ||
aclocal.m4 | ||
alloc_c.cc | ||
alloc_cpp.cc | ||
alloc.cc | ||
barrier.cc | ||
beginend.cc | ||
ChangeLog | ||
clone.cc | ||
common.h | ||
config.h.in | ||
configure | ||
configure.ac | ||
configure.tgt | ||
containers.h | ||
dispatch.h | ||
eh_cpp.cc | ||
libitm_i.h | ||
libitm.h | ||
libitm.map | ||
libitm.spec.in | ||
libitm.texi | ||
local_atomic | ||
local.cc | ||
Makefile.am | ||
Makefile.in | ||
method-gl.cc | ||
method-ml.cc | ||
method-serial.cc | ||
query.cc | ||
retry.cc | ||
useraction.cc | ||
util.cc |