From 254c23d3f40c2832670c90de179630e903755252 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 27 Jul 2018 16:57:01 +0000 Subject: [PATCH] Fixes to testcase for PR tree-optimization/86636 gcc/testsuite/ChangeLog: PR tree-optimization/86636 * gcc.c-torture/compile/pr86636.c: Add dg-do compile. Add dg-require-effective-target pthread. From-SVN: r263031 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.c-torture/compile/pr86636.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f48c3d3454d..354eee30fef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-07-27 David Malcolm + + PR tree-optimization/86636 + * gcc.c-torture/compile/pr86636.c: Add dg-do compile. + Add dg-require-effective-target pthread. + 2018-07-26 Qing Zhao * gcc.dg/strcmpopt_5.c: Change to O2 to enable the transformation. diff --git a/gcc/testsuite/gcc.c-torture/compile/pr86636.c b/gcc/testsuite/gcc.c-torture/compile/pr86636.c index 2fe2f70486b..8527a0f112b 100644 --- a/gcc/testsuite/gcc.c-torture/compile/pr86636.c +++ b/gcc/testsuite/gcc.c-torture/compile/pr86636.c @@ -1,3 +1,5 @@ +/* { dg-do compile } */ +/* { dg-require-effective-target pthread } */ /* { dg-options "-fsave-optimization-record -ftree-loop-vectorize -ftree-parallelize-loops=2" } */ void -- 2.30.2