summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeadori <meadori@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-28 00:55:13 +0000
committermeadori <meadori@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-28 00:55:13 +0000
commit1832272c041cd7c656e7100de7a2522f5d5ecd76 (patch)
tree5920b3cf1b681c2a567f9ca004efc39c93608283
parent38da81a129a4225266c9406ebe9d0a3b75f091a8 (diff)
downloadgcc-1832272c041cd7c656e7100de7a2522f5d5ecd76.tar.gz
gcc/testsuite/
2013-06-27 Meador Inge <meadori@codesourcery.com> * gcc.dg/atomic-flag.c: Add dg-require-effective-target sync_*. * g++.dg/simulate-thread/atomics-2.C: Likewise. * g++.dg/simulate-thread/atomics-1.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200501 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/g++.dg/simulate-thread/atomics-1.C2
-rw-r--r--gcc/testsuite/g++.dg/simulate-thread/atomics-2.C1
-rw-r--r--gcc/testsuite/gcc.dg/atomic-flag.c1
4 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 22b10523acb..ee5615e4817 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2013-06-27 Meador Inge <meadori@codesourcery.com>
+
+ * gcc.dg/atomic-flag.c: Add dg-require-effective-target sync_*.
+ * g++.dg/simulate-thread/atomics-2.C: Likewise.
+ * g++.dg/simulate-thread/atomics-1.C: Likewise.
+
2013-06-27 Marc Glisse <marc.glisse@inria.fr>
PR c++/57509
diff --git a/gcc/testsuite/g++.dg/simulate-thread/atomics-1.C b/gcc/testsuite/g++.dg/simulate-thread/atomics-1.C
index 7e0041ee382..91867ba46a0 100644
--- a/gcc/testsuite/g++.dg/simulate-thread/atomics-1.C
+++ b/gcc/testsuite/g++.dg/simulate-thread/atomics-1.C
@@ -1,6 +1,8 @@
/* { dg-do link } */
/* { dg-options "-std=c++0x" } */
/* { dg-final { simulate-thread } } */
+/* { dg-require-effective-target sync_char_short } */
+/* { dg-require-effective-target sync_int_long } */
/* Test that atomic int and atomic char work properly. */
diff --git a/gcc/testsuite/g++.dg/simulate-thread/atomics-2.C b/gcc/testsuite/g++.dg/simulate-thread/atomics-2.C
index be3232d7087..601555bd236 100644
--- a/gcc/testsuite/g++.dg/simulate-thread/atomics-2.C
+++ b/gcc/testsuite/g++.dg/simulate-thread/atomics-2.C
@@ -1,6 +1,7 @@
/* { dg-do link } */
/* { dg-options "-std=c++0x" } */
/* { dg-final { simulate-thread } } */
+/* { dg-require-effective-target sync_int_long } */
using namespace std;
diff --git a/gcc/testsuite/gcc.dg/atomic-flag.c b/gcc/testsuite/gcc.dg/atomic-flag.c
index 1b768326188..b81cd7832af 100644
--- a/gcc/testsuite/gcc.dg/atomic-flag.c
+++ b/gcc/testsuite/gcc.dg/atomic-flag.c
@@ -1,5 +1,6 @@
/* Test __atomic routines for existence and execution. */
/* { dg-do run } */
+/* { dg-require-effective-target sync_char_short } */
/* Test that __atomic_test_and_set and __atomic_clear builtins execute. */