+2022-07-07 Tobias Burnus <tobias@codesourcery.com>
+
+ Backport from mainline:
+ 2022-07-06 Thomas Schwinge <thomas@codesourcery.com>
+
+ * omp-general.h (enum omp_requires): Use 'GOMP_REQUIRES_[...]'.
+
2022-07-05 Tobias Burnus <tobias@codesourcery.com>
Backport from mainline:
enum omp_requires {
OMP_REQUIRES_ATOMIC_DEFAULT_MEM_ORDER = 0xf,
- OMP_REQUIRES_UNIFIED_ADDRESS = 0x10,
- OMP_REQUIRES_UNIFIED_SHARED_MEMORY = 0x20,
+ OMP_REQUIRES_UNIFIED_ADDRESS = GOMP_REQUIRES_UNIFIED_ADDRESS,
+ OMP_REQUIRES_UNIFIED_SHARED_MEMORY = GOMP_REQUIRES_UNIFIED_SHARED_MEMORY,
OMP_REQUIRES_DYNAMIC_ALLOCATORS = 0x40,
- OMP_REQUIRES_REVERSE_OFFLOAD = 0x80,
+ OMP_REQUIRES_REVERSE_OFFLOAD = GOMP_REQUIRES_REVERSE_OFFLOAD,
OMP_REQUIRES_ATOMIC_DEFAULT_MEM_ORDER_USED = 0x100,
- OMP_REQUIRES_TARGET_USED = 0x200
+ OMP_REQUIRES_TARGET_USED = GOMP_REQUIRES_TARGET_USED,
};
extern GTY(()) enum omp_requires omp_requires_mask;
+2022-07-07 Tobias Burnus <tobias@codesourcery.com>
+
+ Backport from mainline:
+ 2022-07-06 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gomp-constants.h (OMP_REQUIRES_[...]): Update comment.
+
2022-07-05 Tobias Burnus <tobias@codesourcery.com>
Backport from mainline:
#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