r249041 - in /branches/gomp-4_0-branch: gcc/for...
cesar@gcc.gnu.org
cesar@gcc.gnu.org
Thu Jun 8 21:30:00 GMT 2017
Author: cesar
Date: Thu Jun 8 21:30:44 2017
New Revision: 249041
URL: https://gcc.gnu.org/viewcvs?rev=249041&root=gcc&view=rev
Log:
Properly handle allocatable scalars in acc update.
gcc/fortran/
* gfortran.h gfc_omp_clauses: Add update_allocatable.
* trans-openmp.c (gfc_trans_omp_clauses_1): Set update_allocatable bit
in clauses. Remove GOMP_MAP_FIRSTPRIVATE_POINTER data map promotions
for acc update.
(gfc_trans_oacc_executable_directive): Use GOMP_MAP_ALWAYS_POINTER
for allocatable scalar data clauses inside acc update directives.
libgomp/
* testsuite/libgomp.oacc-fortran/allocatable-array-1.f90: New test.
Added:
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/allocatable-array-1.f90
Modified:
branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/fortran/gfortran.h
branches/gomp-4_0-branch/gcc/fortran/trans-openmp.c
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
More information about the Gcc-cvs
mailing list