]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add 'libgomp.oacc-fortran/declare-allocatable-1-runtime.f90'
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 14 Oct 2022 15:36:51 +0000 (17:36 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 2 Nov 2022 20:51:18 +0000 (21:51 +0100)
commit63918a81a59349280f2e67324782c186cade0822
tree0c7fe8fc7f9745a8b6ae76903453c8ff6aea41e9
parent9fd571cbd993fb0c7496ba497775485c4619990d
Add 'libgomp.oacc-fortran/declare-allocatable-1-runtime.f90'

... which is 'libgomp.oacc-fortran/declare-allocatable-1.f90' adjusted
for missing support for OpenACC "Changes from Version 2.0 to 2.5":
"The 'declare create' directive with a Fortran 'allocatable' has new behavior".
Thus, after 'allocate'/before 'deallocate', call 'acc_create'/'acc_delete'
manually.

libgomp/
* testsuite/libgomp.oacc-fortran/declare-allocatable-1-runtime.f90:
New.

(cherry picked from commit 59c6c5dbf267cd9d0a8df72b2a5eb5657b64268e)
libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.oacc-fortran/declare-allocatable-1-runtime.f90 [new file with mode: 0644]