]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran "declare create"/allocate support for OpenACC: adjust 'libgomp.oacc-fortran...
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 2 Nov 2022 15:49:13 +0000 (16:49 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 2 Nov 2022 20:58:47 +0000 (21:58 +0100)
libgomp/
* testsuite/libgomp.oacc-fortran/declare-allocatable-1-directive.f90:
Adjust.
* testsuite/libgomp.oacc-fortran/declare-allocatable-1-runtime.f90:
Likewise.
* testsuite/libgomp.oacc-fortran/declare-allocatable-1.f90:
Likewise.

libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.oacc-fortran/declare-allocatable-1-directive.f90
libgomp/testsuite/libgomp.oacc-fortran/declare-allocatable-1-runtime.f90
libgomp/testsuite/libgomp.oacc-fortran/declare-allocatable-1.f90

index 38048785174a7d9e2f83493ad8a02fe4584c99c3..03867008500b4b68cd4b49167c135fae47cf3dee 100644 (file)
@@ -1,5 +1,12 @@
 2022-11-02  Thomas Schwinge  <thomas@codesourcery.com>
 
+       * testsuite/libgomp.oacc-fortran/declare-allocatable-1-directive.f90:
+       Adjust.
+       * testsuite/libgomp.oacc-fortran/declare-allocatable-1-runtime.f90:
+       Likewise.
+       * testsuite/libgomp.oacc-fortran/declare-allocatable-1.f90:
+       Likewise.
+
        * testsuite/libgomp.oacc-fortran/declare-allocatable-1-directive.f90:
        XFAIL some OpenACC 'kernels' confusion.
        * testsuite/libgomp.oacc-fortran/declare-allocatable-1-runtime.f90:
index 6dd6f48051998f72abd9e24161c03e79b71e5ef7..6c5d6d8735516122f09f1faf47f747b9d4116b55 100644 (file)
@@ -2,11 +2,10 @@
 
 ! { dg-do run }
 
-!TODO-OpenACC-declare-allocate
-! Missing support for OpenACC "Changes from Version 2.0 to 2.5":
+! We've got 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', do
-! '!$acc enter data create'/'!$acc exit data delete' manually.
+! Yet, after 'allocate'/before 'deallocate', do
+! '!$acc enter data create'/'!$acc exit data delete' manually, too.
 
 !TODO { dg-additional-options -fno-inline } for stable results regarding OpenACC 'routine'.
 
index f86413b6b11ff9cd6944615de6feafc12ac79820..66a87e8850f690cd97f643b7657fef745cc67037 100644 (file)
@@ -2,11 +2,10 @@
 
 ! { dg-do run }
 
-!TODO-OpenACC-declare-allocate
-! Missing support for OpenACC "Changes from Version 2.0 to 2.5":
+! We've got 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.
+! Yet, after 'allocate'/before 'deallocate', call 'acc_create'/'acc_delete'
+! manually, too.
 
 !TODO { dg-additional-options -fno-inline } for stable results regarding OpenACC 'routine'.
 
index fb2ede1346596243bd08489ae4c187ee6b5d6e00..01275c693466c7ae49d929d18ca0b88c2e96dea2 100644 (file)
@@ -2,11 +2,8 @@
 
 ! { dg-do run }
 
-!TODO-OpenACC-declare-allocate
-! Not currently implementing correct '-DACC_MEM_SHARED=0' behavior:
-! Missing support for OpenACC "Changes from Version 2.0 to 2.5":
+! We've got support for OpenACC "Changes from Version 2.0 to 2.5":
 ! "The 'declare create' directive with a Fortran 'allocatable' has new behavior".
-! { dg-xfail-run-if TODO { *-*-* } { -DACC_MEM_SHARED=0 } }
 
 !TODO { dg-additional-options -fno-inline } for stable results regarding OpenACC 'routine'.