[testsuite] Add target pthread to pr86076.c
authorWilco Dijkstra <wdijkstr@arm.com>
Mon, 18 Jun 2018 12:17:10 +0000 (12:17 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Mon, 18 Jun 2018 12:17:10 +0000 (12:17 +0000)
Add missing target pthread to ensure test doesn't fail on bare-metal
targets. Committed as obvious.

    testsuite/
PR tree-optimization/86076
* gcc.dg/pr86076.c: Add target pthread for bare-metal targets.

From-SVN: r261699

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr86076.c

index c36bbd2..5672f8b 100644 (file)
@@ -1,5 +1,10 @@
 2018-06-18  Wilco Dijkstra  <wdijkstr@arm.com>
 
+       PR tree-optimization/86076
+       * gcc.dg/pr86076.c: Add target pthread for bare-metal targets.
+
+2018-06-18  Wilco Dijkstra  <wdijkstr@arm.com>
+
        PR tree-optimization/64946
        * gcc.target/aarch64/vect-abs-compile.c: Remove xfail.
 
index 019ced3..390ca47 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target pthread } }  */
 /* { dg-options "-O2 -ftree-parallelize-loops=2 -fno-tree-dce -fno-tree-pre -fno-tree-vrp --param max-loop-header-insns=1" } */
 
 int __attribute__ ((noinline))