From fe1837143f1bf1d6b072a3973b00576ee17c30a9 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Wed, 8 Apr 2020 20:55:20 -0700 Subject: [PATCH] Require pthread effective target for test case using -pthread option. 2020-04-08 Sandra Loosemore gcc/testsuite/ * g++.dg/tree-ssa/pr93940.C: Require pthread target. --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/tree-ssa/pr93940.C | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d597508de39..45e7005da49 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-04-08 Sandra Loosemore + + * g++.dg/tree-ssa/pr93940.C: Require pthread target. + 2020-04-09 Kewen Lin PR testsuite/94079 diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr93940.C b/gcc/testsuite/g++.dg/tree-ssa/pr93940.C index b656aad3ef8..111b33ed548 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr93940.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr93940.C @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target pthread } */ /* { dg-options "-Og --coverage -pthread -fdump-tree-optimized -std=c++17" } */ using uint16_t = unsigned short; -- 2.30.2