[Bug fortran/90743] Fortran 'allocatable' in OpenACC/OpenMP target offloading regions

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 18 22:15:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90743

--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Tue Jun 18 22:14:24 2019
New Revision: 272447

URL: https://gcc.gnu.org/viewcvs?rev=272447&root=gcc&view=rev
Log:
[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.

Added:
    trunk/libgomp/testsuite/libgomp.fortran/target-allocatable-1-1.f90
    trunk/libgomp/testsuite/libgomp.fortran/target-allocatable-1-2.f90
    trunk/libgomp/testsuite/libgomp.oacc-fortran/allocatable-1-1.f90
    trunk/libgomp/testsuite/libgomp.oacc-fortran/allocatable-1-2.f90
Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/oacc-parallel.c


More information about the Gcc-bugs mailing list