diff options
author | Julian Brown <julian@codesourcery.com> | 2019-07-04 18:14:41 -0700 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-03-03 12:49:59 +0100 |
commit | 1b331358057a3a94225b9dd0d00b56c6720c3162 (patch) | |
tree | 38fbc65c8740aee696b940990140b7953fdc764a /libgomp | |
parent | 5031a0790d1c95001eac4e487101e08c4af3382b (diff) | |
download | gcc-1b331358057a3a94225b9dd0d00b56c6720c3162.zip gcc-1b331358057a3a94225b9dd0d00b56c6720c3162.tar.gz gcc-1b331358057a3a94225b9dd0d00b56c6720c3162.tar.bz2 |
Assumed-size arrays with non-lexical data mappings
gcc/
* gimplify.c (gimplify_adjust_omp_clauses_1): Raise error for
assumed-size arrays in map clauses for Fortran/OpenMP.
* omp-low.c (lower_omp_target): Set the size of assumed-size Fortran
arrays to one to allow use of data already mapped on the offload device.
gcc/fortran/
* trans-openmp.c (gfc_omp_finish_clause): Change clauses mapping
assumed-size arrays to use the GOMP_MAP_FORCE_PRESENT map type.
(cherry picked from openacc-gcc-9-branch commit
cfc73bde082700240f0ac9560c2af884cc9930d1)
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions