[Openmp-commits] [PATCH] D142173: [OpenMP] Disable omp-atomic-compare-signedness.c if the compiler for testing is GCC

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 19 20:31:06 PST 2023


tianshilei1992 updated this revision to Diff 490706.
tianshilei1992 added a comment.

add one more


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142173/new/

https://reviews.llvm.org/D142173

Files:
  openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
  openmp/runtime/test/teams/teams-atomic.c


Index: openmp/runtime/test/teams/teams-atomic.c
===================================================================
--- openmp/runtime/test/teams/teams-atomic.c
+++ openmp/runtime/test/teams/teams-atomic.c
@@ -2,6 +2,8 @@
 // omp teams.  This is an extension to OpenMP 5.2 and is enabled by default.
 
 // RUN: %libomp-compile-and-run | FileCheck %s
+// GCC has really limited OpenMP 5.2 support yet.
+// UNSUPPORTED: gcc
 
 #include <omp.h>
 #include <stdbool.h>
Index: openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
===================================================================
--- openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
+++ openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
@@ -6,6 +6,10 @@
 // RUN: %libomp-compile -fopenmp-version=51
 // RUN: %libomp-run | FileCheck %s
 
+// This test uses -fopenmp-version, which is not a compiler flag that GCC
+// supports.
+// UNSUPPORTED: gcc
+
 // High parallelism increases our chances of detecting a lack of atomicity.
 #define NUM_THREADS_TRY 256
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142173.490706.patch
Type: text/x-patch
Size: 1044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230120/18c9b070/attachment-0001.bin>


More information about the Openmp-commits mailing list