From: Wilco Dijkstra Date: Mon, 18 Jun 2018 12:17:10 +0000 (+0000) Subject: [testsuite] Add target pthread to pr86076.c X-Git-Tag: upstream/12.2.0~30903 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=663305dfb5c114a09a8181e03a3f2731fbcff06a;p=platform%2Fupstream%2Fgcc.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 c36bbd2..5672f8b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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 * gcc.target/aarch64/vect-abs-compile.c: Remove xfail. diff --git a/gcc/testsuite/gcc.dg/pr86076.c b/gcc/testsuite/gcc.dg/pr86076.c index 019ced3..390ca47 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))