http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49948
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjl at gcc dot gnu.org --- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-08-08 13:41:19 UTC --- (In reply to comment #6) > Author: jakub > Date: Wed Aug 3 18:49:40 2011 > New Revision: 177291 > > Added: > trunk/gcc/testsuite/gcc.dg/pr49948.c This causes the following test FAIL: xgcc: error: unrecognized command line option '-pthread' compiler exited with status 1 output is: xgcc: error: unrecognized command line option '-pthread' FAIL: gcc.dg/pr49948.c (test for excess errors) Excess errors: xgcc: error: unrecognized command line option '-pthread' This is because of gcc.c:#define GOMP_SELF_SPECS "%{fopenmp|ftree-parallelize-loops=*: -pthread}" Please add /* { dg-require-effective-target pthread_h } */ or a similar gate to respective test cases. Thanks, Johann