8sa1-gcc/libgomp/testsuite
Tobias Burnus 92e63bd2df OpenMP] use_device_addr/use_device_ptr with Fortran allocatable/pointer arrays
gcc/fortran/
        * f95-lang.c (LANG_HOOKS_OMP_ARRAY_DATA): Set to gfc_omp_array_data.
        * trans-array.c (gfc_conv_descriptor_data_get): Handle also
        REFERENCE_TYPE.
        * trans-openmp.c (gfc_omp_array_data): New.
        * trans.h (gfc_omp_array_data): New prototype.

        gcc/
        * hooks.c (hook_tree_tree_bool_null): New.
        * hooks.h (hook_tree_tree_bool_null): Declare.
        * langhooks-def.h (LANG_HOOKS_OMP_ARRAY_DATA): Define.
        (LANG_HOOKS_DECLS): Add it.
        * langhooks.h (lang_hooks_for_decls): Add omp_array_data.
        * omp-low.c (install_var_field): New mode for Fortran descriptor arrays.
        (lower_omp_target): Handle Fortran array with descriptor in
        OMP_CLAUSE_USE_DEVICE_ADDR/OMP_CLAUSE_USE_DEVICE_PTR.

        libgomp/
        * testsuite/libgomp.fortran/use_device_addr-1.f90 (test_nullptr_1,
        test_dummy_opt_nullptr_callee_1): Add present but unallocated test.
        * testsuite/libgomp.fortran/use_device_addr-2.f90: Likewise.
        * testsuite/libgomp.fortran/use_device_addr-3.f90: New.
        * testsuite/libgomp.fortran/use_device_addr-4.f90: New.
        * testsuite/testsuite/libgomp.fortran/use_device_ptr-1.f90: New.

From-SVN: r277705
2019-11-01 08:59:23 +01:00
..
config
lib
libgomp.c re PR libgomp/91530 (Several libgomp.*/scan-* tests FAIL without avx_runtime) 2019-08-28 12:13:21 +02:00
libgomp.c-c++-common
libgomp.c++
libgomp.fortran OpenMP] use_device_addr/use_device_ptr with Fortran allocatable/pointer arrays 2019-11-01 08:59:23 +01:00
libgomp.graphite
libgomp.hsa.c
libgomp.oacc-c
libgomp.oacc-c-c++-common [PR92036] Add 'libgomp.oacc-c-c++-common/data-firstprivate-1.c' 2019-10-09 13:31:14 +02:00
libgomp.oacc-c++
libgomp.oacc-fortran Fortran] OpenACC – libgomp/testsuite – use 'stop' and 'dg-do run' 2019-10-28 08:39:26 +01:00
libgomp-test-support.exp.in
Makefile.am
Makefile.in