123456789101112131415161718192021222324252627282930313233343536373839 |
- From d0a7ad164b60ddc34e9705c1e9225510345e5208 Mon Sep 17 00:00:00 2001
- From: Kito Cheng <kito.cheng@sifive.com>
- Date: Mon, 21 Jun 2021 21:19:38 +0800
- Subject: [PATCH 03/15] testuite: Check pthread for omp module testing
- ---
- gcc/testsuite/g++.dg/modules/omp-1_a.C | 2 +-
- gcc/testsuite/g++.dg/modules/omp-2_a.C | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
- diff --git a/gcc/testsuite/g++.dg/modules/omp-1_a.C b/gcc/testsuite/g++.dg/modules/omp-1_a.C
- index 94e1171f03c..7ddb776d6a1 100644
- --- a/gcc/testsuite/g++.dg/modules/omp-1_a.C
- +++ b/gcc/testsuite/g++.dg/modules/omp-1_a.C
- @@ -2,7 +2,7 @@
- // { dg-require-effective-target pthread }
-
- export module foo;
- -// { dg-module-cmi foo }
- +// { dg-module-cmi foo { target pthread } }
-
- export inline void frob (unsigned (&ary)[64])
- {
- diff --git a/gcc/testsuite/g++.dg/modules/omp-2_a.C b/gcc/testsuite/g++.dg/modules/omp-2_a.C
- index b0d4bbc6e8a..e030ac7acf7 100644
- --- a/gcc/testsuite/g++.dg/modules/omp-2_a.C
- +++ b/gcc/testsuite/g++.dg/modules/omp-2_a.C
- @@ -2,7 +2,7 @@
- // { dg-require-effective-target pthread }
-
- export module foo;
- -// { dg-module-cmi foo }
- +// { dg-module-cmi foo { target pthread } }
-
- // The OpenMPness doesn't escape to the interface.
- export void frob (unsigned (&ary)[64])
- --
- 2.33.1
|