]> git.ipfire.org Git - thirdparty/gcc.git/commit
Clarify 'OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P' in 'gcc/tree-pretty-print.cc:dump_omp_clause'
authorThomas Schwinge <tschwinge@baylibre.com>
Tue, 14 Jan 2025 11:58:08 +0000 (12:58 +0100)
committerThomas Schwinge <tschwinge@baylibre.com>
Tue, 28 Jan 2025 10:33:28 +0000 (11:33 +0100)
commitd6e66e7b3a40315ad303344e19bccb4006c51cac
treef73db7f1b1e618f6929712d9782aa3667871c0db
parent846f08623b47f7bd408928285ae49295356d99d3
Clarify 'OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P' in 'gcc/tree-pretty-print.cc:dump_omp_clause'

In commit b7e20480630e3eeb9eed8b3941da3b3f0c22c969
"openmp: Relax handling of implicit map vs. existing device mappings",
'OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P' was added next to 'OMP_CLAUSE_MAP_IMPLICIT'
with comment: "NOTE: this is different than OMP_CLAUSE_MAP_IMPLICIT".  However,
dumping it as '[implicit]' doesn't exactly help for telling the two apart; make
that '[runtime_implicit]'.  Also, prepend a space character, similar to how
we're doing with other such attributes.

gcc/
* tree-pretty-print.cc (dump_omp_clause): Clarify
'OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P'.
gcc/testsuite/
* c-c++-common/gomp/defaultmap-4.c: Adjust.
* c-c++-common/gomp/defaultmap-5.c: Likewise.
* c-c++-common/gomp/target-implicit-map-1.c: Likewise.
* c-c++-common/gomp/target-implicit-map-2.c: Likewise.
* gfortran.dg/gomp/defaultmap-8.f90: Likewise.
* gfortran.dg/gomp/defaultmap-9.f90: Likewise.
* gfortran.dg/gomp/map-subarray.f90: Likewise.
* gfortran.dg/gomp/target-enter-exit-data.f90: Likewise.
gcc/testsuite/c-c++-common/gomp/defaultmap-4.c
gcc/testsuite/c-c++-common/gomp/defaultmap-5.c
gcc/testsuite/c-c++-common/gomp/target-implicit-map-1.c
gcc/testsuite/c-c++-common/gomp/target-implicit-map-2.c
gcc/testsuite/gfortran.dg/gomp/defaultmap-8.f90
gcc/testsuite/gfortran.dg/gomp/defaultmap-9.f90
gcc/testsuite/gfortran.dg/gomp/map-subarray.f90
gcc/testsuite/gfortran.dg/gomp/target-enter-exit-data.f90
gcc/tree-pretty-print.cc