[COMMITTED] Fix pthread errors in pr86637-2.c
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 11 Feb 2019 18:14:37 +0000 (18:14 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 11 Feb 2019 18:14:37 +0000 (18:14 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr86637-2.c

index 0c01d3960990dd963fd56e737ac73249448235c6..032d078933d1be5a8cbd2d1830fc5d7bfad616d4 100644 (file)
@@ -1,3 +1,8 @@
+2019-02-12  Wilco Dijkstra  <wdijkstr@arm.com>
+
+       PR tree-optimization/86637
+       * gcc.c-torture/compile/pr86637-2.c: Test pthread and graphite target.
+
 2019-02-11  Martin Sebor  <msebor@redhat.com>
 
        PR tree-optimization/88771
index 3b675eae1b685fb1f7a431bb84dc5b3dbb327177..2f69c292f7e9d205e92f797b78cebd769e0c1dc6 100644 (file)
@@ -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 <stdint.h>