omp.c: Require target with pthread support.
authorGreta Yorsh <greta.yorsh@arm.com>
Mon, 23 Jan 2012 13:07:58 +0000 (18:37 +0530)
committerSameera Deshpande <sameerad@gcc.gnu.org>
Mon, 23 Jan 2012 13:07:58 +0000 (18:37 +0530)
2012-01-23  Greta Yorsh  <Greta.Yorsh@arm.com>
* c-c++-common/tm/omp.c: Require target with pthread support.

From-SVN: r183432

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/tm/omp.c

index 1abdae78845eb0768b1cd6551be7892fa60bbe88..ca1ecdf5223b2f8a23c469d8c1481c86f3f997eb 100644 (file)
@@ -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
index b9fcc765efc9ea7032c5929edca35f192f17efca..b664a6f112363cb64bdfe3e6f536d1ca385f9c5e 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fgnu-tm -fopenmp" } */
+/* { dg-require-effective-target pthread } */
 
 __attribute__ ((transaction_pure))
 unsigned long rdtsc();