diff options
author | Greta Yorsh <greta.yorsh@arm.com> | 2012-01-23 18:37:58 +0530 |
---|---|---|
committer | Sameera Deshpande <sameerad@gcc.gnu.org> | 2012-01-23 18:37:58 +0530 |
commit | 0b7d975df83a1edfd9daf02d26da738184a99437 (patch) | |
tree | ec4993487505dc3a3c03a2a9daf0f167a7e86d1f /gcc | |
parent | 61e72ca4faac9bcf8822a82658d0411b83e230d4 (diff) | |
download | gcc-0b7d975df83a1edfd9daf02d26da738184a99437.zip gcc-0b7d975df83a1edfd9daf02d26da738184a99437.tar.gz gcc-0b7d975df83a1edfd9daf02d26da738184a99437.tar.bz2 |
omp.c: Require target with pthread support.
2012-01-23 Greta Yorsh <Greta.Yorsh@arm.com>
* c-c++-common/tm/omp.c: Require target with pthread support.
From-SVN: r183432
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/tm/omp.c | 1 |
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(); |