[Sorry for the large recipient list, I wasn't sure who of C++ and x86
maintainers should approve this]
Hi,
29_atomics/atomic/65913.cc test in libstdc++ is a runtime test that only rely
on atomic and gnu++11 support. Therefore I propose to require atomic-builtins
instead of an x86 (32 or 64 bits) target.
ChangeLog entry is as follows:
2016-05-19 Thomas Preud'homme <thomas.preudho...@arm.com>
* testsuite/29_atomics/atomic/65913.cc: Require atomic-builtins rather
than specific target.
Patch is in attachment.
Is this ok for trunk?
Best regards,
Thomas
diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc b/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc
index 713ef42d03cb9f7c1e691995df2d0943e24036c3..32a58ec991b41c74aafab84deed2c543d72505f5 100644
--- a/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc
+++ b/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc
@@ -15,7 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-do run { target x86_64-*-linux* powerpc*-*-linux* } }
+// { dg-do run }
+// { dg-require-atomic-builtins "" }
// { dg-options "-std=gnu++11 -O0" }
#include <atomic>