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.

Attachment: test-omp-require-pthread.patch
Description: Binary data

Reply via email to