From: wilco Date: Mon, 18 Jun 2018 12:17:10 +0000 (+0000) Subject: [testsuite] Add target pthread to pr86076.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1fd980219ddbd356f2820f6f48c5a80f2ff7b6b2;p=thirdparty%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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261699 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c36bbd22a3e9..5672f8b886ed 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 019ced3cbf59..390ca47ba124 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))