From 663305dfb5c114a09a8181e03a3f2731fbcff06a Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Mon, 18 Jun 2018 12:17:10 +0000 Subject: [PATCH] [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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr86076.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)) -- 2.30.2