[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 c36bbd22a3e9fd6633f8d8ba4ca7d82797988176..5672f8b886edfd9a832ca7d8cdb38779c4a8b08f 100644 (file)
@@ -1,3 +1,8 @@
+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
index 019ced3cbf5969e477b2e4b696f26c8afc9457c5..390ca47ba12481e4f9587a11a8c46de0c74de0d8 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))