Require pthread effective target for test case using -pthread option.
authorSandra Loosemore <sandra@codesourcery.com>
Thu, 9 Apr 2020 03:55:20 +0000 (20:55 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Thu, 9 Apr 2020 03:55:20 +0000 (20:55 -0700)
2020-04-08  Sandra Loosemore  <sandra@codesourcery.com>

gcc/testsuite/
* g++.dg/tree-ssa/pr93940.C: Require pthread target.

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr93940.C

index d597508de39918506c9e98fce312648434fe87fd..45e7005da49c1acd64d28dbb282d11b1bcf28d44 100644 (file)
@@ -1,3 +1,7 @@
+2020-04-08  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * g++.dg/tree-ssa/pr93940.C: Require pthread target.
+
 2020-04-09  Kewen Lin  <linkw@gcc.gnu.org>
 
        PR testsuite/94079
index b656aad3ef81b2d0a56b4a339cc4aaa2aa2e73d8..111b33ed54892b6a1fa6a798efcbd98285f9d1f4 100644 (file)
@@ -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;