Message ID | 20210116013620.248097-1-hjl.tools@gmail.com |
---|---|
State | New |
Headers | show |
Series | libstdc++-v3: Add -fcf-protection=none to -march=i486 | expand |
diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc index 0fd81709688..8ec46283208 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc @@ -1,6 +1,6 @@ // { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-options "-O2 -g0 -fno-exceptions -fno-asynchronous-unwind-tables" } -// { dg-additional-options "-march=i486" { target ia32 } } +// { dg-additional-options "-march=i486 -fcf-protection=none" { target ia32 } } // { dg-require-effective-target c++11 } // { dg-skip-if "scans fail with LTO" { lto } { "-flto" } } // { dg-final { scan-assembler-times "xacquire\|\.byte\[^\n\r]*0xf2" 14 } }