aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-common.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2020-05-20 10:56:55 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:10:38 -0300
commit1dce4fd66af3e6c94eef205d9dac42800f712f37 (patch)
tree6a5ddb96b525349e5513a2031c4305d4070639cc /gcc/fortran/trans-common.c
parente18307a9567407b1c90a1942d33d1eccf7aa444a (diff)
downloadgcc-1dce4fd66af3e6c94eef205d9dac42800f712f37.zip
gcc-1dce4fd66af3e6c94eef205d9dac42800f712f37.tar.gz
gcc-1dce4fd66af3e6c94eef205d9dac42800f712f37.tar.bz2
[OpenACC 'exit data'] Strip 'GOMP_MAP_STRUCT' mappings
These are not itself necessary for OpenACC 'exit data' directives, and are skipped over (now) in libgomp. We might as well not emit them to start with, in line with the equivalent OpenMP directive. We keep the no-op handling in libgomp for the reason of backward compatibility. gcc/ * gimplify.c (gimplify_adjust_omp_clauses): Remove 'GOMP_MAP_STRUCT' mapping from OpenACC 'exit data' directives. gcc/testsuite/ * c-c++-common/goacc/struct-enter-exit-data-1.c: New file. libgomp/ * oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>: Explain special handling. Co-Authored-By: Julian Brown <julian@codesourcery.com>
Diffstat (limited to 'gcc/fortran/trans-common.c')
0 files changed, 0 insertions, 0 deletions