Add missing target pthread to ensure test doesn't fail on bare-metal
targets. Committed as obvious.

ChangeLog:
2018-06-18  Wilco Dijkstra  <wdijk...@arm.com>

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

diff --git a/gcc/testsuite/gcc.dg/pr86076.c b/gcc/testsuite/gcc.dg/pr86076.c
index 
019ced3cbf5969e477b2e4b696f26c8afc9457c5..390ca47ba12481e4f9587a11a8c46de0c74de0d8
 100644
--- a/gcc/testsuite/gcc.dg/pr86076.c
+++ b/gcc/testsuite/gcc.dg/pr86076.c
@@ -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))

Reply via email to