[gcc/devel/omp/gcc-10] Adjust 'libgomp.oacc-fortran/derivedtypes-arrays-1.f90' for og10

Thomas Schwinge tschwinge@gcc.gnu.org
Fri Mar 26 14:26:26 GMT 2021


https://gcc.gnu.org/g:4777cf66403e311ff3f00bf3d9a60bd5b546f5ed

commit 4777cf66403e311ff3f00bf3d9a60bd5b546f5ed
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Fri Mar 26 15:19:49 2021 +0100

    Adjust 'libgomp.oacc-fortran/derivedtypes-arrays-1.f90' for og10
    
    This is a fix-up for og10 commit c89b23b73edeeb7e3d8cbad278e505c2d6d770c4
    "'libgomp.oacc-fortran/derivedtypes-arrays-1.f90' OpenACC 'serial' construct
    diagnostic for nvptx offloading".
    
    We're missing in og10 a few patches related to diagnostics location
    tracking/checking, both compiler-side and testsuite-side.
    
            libgomp/
            * testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90: Adjust
            for og10.

Diff:
---
 libgomp/ChangeLog.omp                                            | 5 +++++
 libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index b0af9c205a3..f131c2c79b7 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,8 @@
+2021-03-26  Thomas Schwinge  <thomas@codesourcery.com>
+
+	* testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90: Adjust
+	for og10.
+
 2021-03-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
 	Backport from mainline
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 b/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90
index 7bca2df6628..0208e07ea93 100644
--- a/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90
+++ b/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90
@@ -88,7 +88,7 @@ end do
 !$acc data copyin(var3%t2(5)%t1%arr1)
 
 !$acc serial present(var3%t2(5)%t1%arr1)
-! { dg-warning "using vector_length \\(32\\), ignoring 1" "" { target openacc_nvidia_accel_selected } .-1 }
+! { dg-warning "using vector_length \\(32\\), ignoring 1" "" { target openacc_nvidia_accel_selected } 92 }
 var3%t2(5)%t1%arr1(:,:) = 6
 !$acc end serial


More information about the Gcc-cvs mailing list