trans-openmp.c
177 KB
-
openacc: Fortran derived-type mapping fix · ea219a53
Fix a bug with mapping Fortran components which themselves have derived types in the OpenACC 2.5+ manual deep-copy support. 2020-07-09 Julian Brown <julian@codesourcery.com> gcc/fortran/ * trans-openmp.c (gfc_trans_omp_clauses): Use 'inner' not 'decl' for derived type members which themselves have derived types. gcc/testsuite/ * gfortran.dg/goacc/mapping-tests-3.f90: New test. * gfortran.dg/goacc/mapping-tests-4.f90: New test. (cherry picked from commit ac8996edb14eef0a15cd0ce850fde2be5e227e69)
Julian Brown committed