From: Wilco Dijkstra Date: Mon, 18 Jun 2018 12:17:10 +0000 (+0000) Subject: [testsuite] Add target pthread to pr86076.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=663305dfb5c114a09a8181e03a3f2731fbcff06a;p=gcc.git [testsuite] Add target pthread to pr86076.c 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c36bbd22a3e..5672f8b886e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-06-18 Wilco Dijkstra + + PR tree-optimization/86076 + * gcc.dg/pr86076.c: Add target pthread for bare-metal targets. + 2018-06-18 Wilco Dijkstra PR tree-optimization/64946 diff --git a/gcc/testsuite/gcc.dg/pr86076.c b/gcc/testsuite/gcc.dg/pr86076.c index 019ced3cbf5..390ca47ba12 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))