PING!
http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01813.html
> -----Original Message-----
> From: Greta Yorsh [mailto:greta.yo...@arm.com]
> Sent: 17 November 2011 10:36
> To: gcc-patches@gcc.gnu.org
> Cc: 'ni...@redhat.com'; Richard Earnshaw; 'p...@codesourcery.com';
> 'al...@redhat.com'
> Subject: [PATCH, ARM, testsuite] fix test c-c++-common/tm/omp.c
>
> The testcase c-c++-common/tm/omp.c fails on arm-none-eabi:
>
> Executing: arm-none-eabi-gcc /work/local-checkouts/gcc-
> fsf/gcc/testsuite/c-c++-common/tm/omp.c -fgnu-tm -fopenmp -S -o omp.s
> arm-none-eabi-gcc: error: unrecognized command line option '-pthread'
> FAIL: c-c++-common/tm/omp.c
>
> The attached patch adds the appropriate directive to the test:
> /* { dg-require-effective-target pthread } */
>
>
> -- Greta
>
>
> gcc/testsuite/ChangeLog
>
> 2011-11-16 Greta Yorsh <greta.yo...@arm.com>
>
> * c-c++-common/tm/omp.c: Require target with pthread support.
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();