[PATCH][libstc++v3]Add new dg-require-thread-fence directive.
authorRenlin Li <renlin.li@arm.com>
Wed, 22 Apr 2015 14:01:02 +0000 (14:01 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Wed, 22 Apr 2015 14:01:02 +0000 (14:01 +0000)
commit04934297b8b00232358a54205a53f55f9e292c89
tree8ab7ba5bea7262f2526cc4da0c8aecbe0b93a212
parent860503d8cc91ca9a5d8bf3db0b88281f31257603
[PATCH][libstc++v3]Add new dg-require-thread-fence directive.

libstdc++-v3/

2015-04-22  Renlin Li  <renlin.li@arm.com>

* testsuite/lib/dg-options.exp (dg-require-thread-fence): New.
* testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New.
* testsuite/29_atomics/atomic_flag/clear/1.cc: Use it.
* testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise.
* testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise.

From-SVN: r222324
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/29_atomics/atomic_flag/clear/1.cc
libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc
libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc
libstdc++-v3/testsuite/lib/dg-options.exp
libstdc++-v3/testsuite/lib/libstdc++.exp