https://gcc.gnu.org/g:4b129b1e37463c2c89c0a4cae138b5d60bea5815

commit 4b129b1e37463c2c89c0a4cae138b5d60bea5815
Author: Paul-Antoine Arras <par...@baylibre.com>
Date:   Mon Jun 3 13:07:41 2024 +0200

    Handle GOMP_MAP_STRUCT_UNORD in gfc_omp_deep_map_kind_p
    
    Fixup to mainline commit f5745dc1426bdb1a53ebaf7af758b2250ccbff02
    "OpenMP/OpenACC: Unordered/non-constant component offset runtime diagnostic"

Diff:
---
 gcc/fortran/trans-openmp.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/fortran/trans-openmp.cc b/gcc/fortran/trans-openmp.cc
index e06a16e20a9..ff7a8d19c00 100644
--- a/gcc/fortran/trans-openmp.cc
+++ b/gcc/fortran/trans-openmp.cc
@@ -2988,6 +2988,7 @@ gfc_omp_deep_map_kind_p (tree clause)
     case GOMP_MAP_FORCE_TOFROM:
     case GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT:
     case GOMP_MAP_STRUCT:
+    case GOMP_MAP_STRUCT_UNORD:
     case GOMP_MAP_ALWAYS_POINTER:
     case GOMP_MAP_POINTER_TO_ZERO_LENGTH_ARRAY_SECTION:
     case GOMP_MAP_DELETE_ZERO_LEN_ARRAY_SECTION:

Reply via email to