aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2022-07-05 11:04:46 +0200
committerThomas Schwinge <thomas@codesourcery.com>2022-07-06 22:51:24 +0200
commit2f0d819a81edee50a98a8a05eed585f0a72bb932 (patch)
tree438f1c3e492ae7ac111f6667f6b59b15537b7318 /include
parente46f4d7430c5210465791603735ab219ef263c51 (diff)
downloadgcc-2f0d819a81edee50a98a8a05eed585f0a72bb932.zip
gcc-2f0d819a81edee50a98a8a05eed585f0a72bb932.tar.gz
gcc-2f0d819a81edee50a98a8a05eed585f0a72bb932.tar.bz2
Define 'OMP_REQUIRES_[...]', 'GOMP_REQUIRES_[...]' in a single place
Clean up for recent commit 683f11843974f0bdf42f79cdcbb0c2b43c7b81b0 "OpenMP: Move omp requires checks to libgomp". gcc/ * omp-general.h (enum omp_requires): Use 'GOMP_REQUIRES_[...]'. include/ * gomp-constants.h (OMP_REQUIRES_[...]): Update comment.
Diffstat (limited to 'include')
-rw-r--r--include/gomp-constants.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/gomp-constants.h b/include/gomp-constants.h
index 3e3078f..84316f9 100644
--- a/include/gomp-constants.h
+++ b/include/gomp-constants.h
@@ -341,8 +341,7 @@ enum gomp_map_kind
#define GOMP_DEPEND_MUTEXINOUTSET 4
#define GOMP_DEPEND_INOUTSET 5
-/* Flag values for requires-directive features, must match corresponding
- OMP_REQUIRES_* values in gcc/omp-general.h. */
+/* Flag values for OpenMP 'requires' directive features. */
#define GOMP_REQUIRES_UNIFIED_ADDRESS 0x10
#define GOMP_REQUIRES_UNIFIED_SHARED_MEMORY 0x20
#define GOMP_REQUIRES_REVERSE_OFFLOAD 0x80