From patchwork Sat Jul 14 22:41:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fix gcc.dg/pr53849.c Date: Sat, 14 Jul 2012 12:41:39 -0000 From: Mike Stump X-Patchwork-Id: 171030 Message-Id: <88E2ACCF-CA41-4743-90DB-F66CA04F8C6C@comcast.net> To: gcc-patches Patches This test requires pthreads, so, I've copied bits from another testcase that uses -pthreads in the same way. Checked it in. diff --git a/gcc/testsuite/gcc.dg/pr53849.c b/gcc/testsuite/gcc.dg/pr53849.c index 3b67010..eddc45f 100644 --- a/gcc/testsuite/gcc.dg/pr53849.c +++ b/gcc/testsuite/gcc.dg/pr53849.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target pthread } */ /* { dg-options "-O2 -ftree-parallelize-loops=2 -fno-tree-loop-im" } */ extern int *b, *e[8], d;