[PR90743] Fortran 'allocatable' with OpenACC data/OpenMP 'target' 'map' clauses
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 18 Jun 2019 22:14:24 +0000 (00:14 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Tue, 18 Jun 2019 22:14:24 +0000 (00:14 +0200)
commit4017da8d1ccc205b51ad4dbfcb63b799ad9c9a51
tree135dceff521920b841c745107ae1a1c697a275b3
parent6f7c1f65027e3372ce540398e55781f84bf575d3
[PR90743] Fortran 'allocatable' with OpenACC data/OpenMP 'target' 'map' clauses

Test what OpenMP 5.0 has to say on this topic.  And, do the same for OpenACC.

libgomp/
PR fortran/90743
* oacc-parallel.c (GOACC_parallel_keyed): Handle NULL mapping
case.
* testsuite/libgomp.fortran/target-allocatable-1-1.f90: New file.
* testsuite/libgomp.fortran/target-allocatable-1-2.f90: Likewise.
* testsuite/libgomp.oacc-fortran/allocatable-1-1.f90: Likewise.
* testsuite/libgomp.oacc-fortran/allocatable-1-2.f90: Likewise.

From-SVN: r272447
libgomp/ChangeLog
libgomp/oacc-parallel.c
libgomp/testsuite/libgomp.fortran/target-allocatable-1-1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.fortran/target-allocatable-1-2.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/allocatable-1-1.f90 [new file with mode: 0644]
libgomp/testsuite/libgomp.oacc-fortran/allocatable-1-2.f90 [new file with mode: 0644]