aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/c-c++-common/tm/omp.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1abdae7..ca1ecdf 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,6 @@
+2012-01-23 Greta Yorsh <Greta.Yorsh@arm.com>
+ * c-c++-common/tm/omp.c: Require target with pthread support.
+
2012-01-23 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51949
diff --git a/gcc/testsuite/c-c++-common/tm/omp.c b/gcc/testsuite/c-c++-common/tm/omp.c
index b9fcc76..b664a6f 100644
--- a/gcc/testsuite/c-c++-common/tm/omp.c
+++ b/gcc/testsuite/c-c++-common/tm/omp.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fopenmp" } */
+/* { dg-require-effective-target pthread } */
__attribute__ ((transaction_pure))
unsigned long rdtsc();