[committed] Add 'libgomp.oacc-fortran/allocatable-array-1.f90' (was: [gomp4] Properly handle allocatable scalars in acc update)

2019-06-18 Thread Thomas Schwinge
Hi! On Thu, 8 Jun 2017 14:40:29 -0700, Cesar Philippidis wrote: > This patch fixes a bug I introduced while [...] > libgomp/ > * testsuite/libgomp.oacc-fortran/allocatable-array-1.f90: New test. This test case actually PASSes with current trunk, committed in r272448 "Add 'libgomp.o

[gomp4] Properly handle allocatable scalars in acc update.

2017-06-08 Thread Cesar Philippidis
This patch fixes a bug I introduced while adding support for allocatable scalars back in April. Before, gfc_trans_oacc_executable_directive would indiscriminately promote all GOMP_MAP_FIRSTPRIVATE_POINTER data mappings to GOMP_MAP_ALWAYS_POINTER, because for allocatable scalars the runtime needs to