[Patch, testsuite] add effective target pthread to test gcc.dg/pr54782.c

2012-10-10 Thread Greta Yorsh
The test gcc.dg/pr54782.c uses command line option -ftree-parallelize-loops=2 which implies -pthread and thus the test fails on targets that do not support pthread, such as arm-none-eabi. This patch adds effective target check. Ok for trunk? Thanks, Greta ChangeLog gcc/testsuite 2012-10-05 G

Re: [Patch, testsuite] add effective target pthread to test gcc.dg/pr54782.c

2012-10-10 Thread rearnsha
On 10 Oct 2012, at 13:17, "Greta Yorsh" wrote: > The test gcc.dg/pr54782.c uses command line option > -ftree-parallelize-loops=2 which implies -pthread and thus the test fails on > targets that do not support pthread, such as arm-none-eabi. > > This patch adds effective target check. > > Ok for