diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-01-15 17:27:53 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-01-15 17:37:20 -0800 |
commit | 2c356f221bbab29bf4d1626d161e0f584dddd600 (patch) | |
tree | c8a0a74d557b13644a3a6ae9494f1b29bbb07b70 /gcc/fortran/dump-parse-tree.c | |
parent | 2f7f0d32e740c8111b88f7865c822674060c02d7 (diff) | |
download | gcc-2c356f221bbab29bf4d1626d161e0f584dddd600.zip gcc-2c356f221bbab29bf4d1626d161e0f584dddd600.tar.gz gcc-2c356f221bbab29bf4d1626d161e0f584dddd600.tar.bz2 |
libstdc++-v3: Add -fcf-protection=none to -march=i486
-fcf-protection is automatically enabled in libstdc++ on Linux/x86.
Starting from
commit 77d372abec0fbf2cfe922e3140ee3410248f979e
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jan 14 05:56:46 2021 -0800
x86: Error on -fcf-protection with incompatible target
GCC issues an error on -fcf-protection with incompatible target:
... -fcf-protection ... libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc -m32 -O2 -g0 -fno-exceptions -fno-asynchronous-unwind-tables -march=i486 ...
cc1plus: error: '-fcf-protection' is not compatible with this target
FAIL: 29_atomics/atomic_flag/test_and_set/explicit-hle.cc (test for excess errors)
Add -fcf-protection=none to -march=i486 to compile explicit-hle.cc.
* testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
Add -fcf-protection=none to -march=i486.
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
0 files changed, 0 insertions, 0 deletions