From: Wilco Dijkstra Date: Mon, 11 Feb 2019 18:14:37 +0000 (+0000) Subject: [COMMITTED] Fix pthread errors in pr86637-2.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7009c55e1dd727a2df8e0f1f94414498051bb007;p=gcc.git [COMMITTED] Fix pthread errors in pr86637-2.c Fix test errors on targets which do not support pthreads. Committed as obvious. testsuite/ PR tree-optimization/86637 * gcc.c-torture/compile/pr86637-2.c: Test pthread and graphite target. From-SVN: r268777 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0c01d396099..032d078933d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-02-12 Wilco Dijkstra + + PR tree-optimization/86637 + * gcc.c-torture/compile/pr86637-2.c: Test pthread and graphite target. + 2019-02-11 Martin Sebor PR tree-optimization/88771 diff --git a/gcc/testsuite/gcc.c-torture/compile/pr86637-2.c b/gcc/testsuite/gcc.c-torture/compile/pr86637-2.c index 3b675eae1b6..2f69c292f7e 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr86637-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr86637-2.c @@ -1,4 +1,6 @@ -/* { dg-do compile { target fgraphite } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target fgraphite } */ +/* { dg-require-effective-target pthread } */ /* { dg-options "-floop-parallelize-all -fsave-optimization-record -ftree-parallelize-loops=2 -ftree-slp-vectorize" } */ #include