http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52259
Bug #: 52259 Summary: All tm tests fail on targets without pthread support Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassig...@gcc.gnu.org ReportedBy: greta.yo...@arm.com Target: arm-none-eabi All tm tests fail on arm-none-eabi, for example: /work/builds/a9-feb15/arm-none-eabi/gcc2/gcc/xgcc -B/work/builds/a9-feb15/arm-none-eabi/gcc2/gcc/ /work/local-checkouts/gcc-fsf/gcc/testsuite/c-c++-common/tm/20100127.c -fgnu-tm -O -fdump-tree-tmmark -DSTACK_SIZE=16384 -S -o 20100127.s (timeout = 60) xgcc: error: unrecognized command line option '-pthread' compiler exited with status 1 Caused by trunk r184174, which added -pthread to the command line of all tm tests without checking that the target supports pthread: http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00558.html