From 0b7d975df83a1edfd9daf02d26da738184a99437 Mon Sep 17 00:00:00 2001 From: Greta Yorsh Date: Mon, 23 Jan 2012 18:37:58 +0530 Subject: [PATCH] omp.c: Require target with pthread support. 2012-01-23 Greta Yorsh * c-c++-common/tm/omp.c: Require target with pthread support. From-SVN: r183432 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/c-c++-common/tm/omp.c | 1 + 2 files changed, 4 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1abdae78845..ca1ecdf5223 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,6 @@ +2012-01-23 Greta Yorsh + * c-c++-common/tm/omp.c: Require target with pthread support. + 2012-01-23 Richard Guenther 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 b9fcc765efc..b664a6f1123 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(); -- 2.30.2