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
This commit is contained in:
Greta Yorsh 2012-01-23 18:37:58 +05:30 committed by Sameera Deshpande
parent 61e72ca4fa
commit 0b7d975df8
2 changed files with 4 additions and 0 deletions

View 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

View File

@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fopenmp" } */
/* { dg-require-effective-target pthread } */
__attribute__ ((transaction_pure))
unsigned long rdtsc();