diff mbox

fix gcc.dg/pr53849.c

Message ID 88E2ACCF-CA41-4743-90DB-F66CA04F8C6C@comcast.net
State New
Headers show

Commit Message

Mike Stump July 14, 2012, 10:41 p.m. UTC
This test requires pthreads, so, I've copied bits from another testcase that uses -pthreads in the same way.

Checked it in.
diff mbox

Patch

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;