diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-03-11 10:52:59 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-03-25 12:49:44 +0100 |
commit | 8bafce1be11a301c2421483736c634b8bf330e69 (patch) | |
tree | f022b1422eb07d243542cc78d4fcbae96db960f8 /libgomp | |
parent | a29124d28253cdf603ba1977db2f09c9f233fea5 (diff) | |
download | gcc-8bafce1be11a301c2421483736c634b8bf330e69.zip gcc-8bafce1be11a301c2421483736c634b8bf330e69.tar.gz gcc-8bafce1be11a301c2421483736c634b8bf330e69.tar.bz2 |
'libgomp.oacc-fortran/derivedtypes-arrays-1.f90' OpenACC 'serial' construct diagnostic for nvptx offloading
Fixup for recent commit d28f3da11d8c0aed9b746689d723022a9b5ec04c "openacc: Fix
lowering for derived-type mappings through array elements". With nvptx
offloading we see the usual:
[...]/libgomp.oacc-fortran/derivedtypes-arrays-1.f90: In function 'MAIN__._omp_fn.0':
[...]/libgomp.oacc-fortran/derivedtypes-arrays-1.f90:90:40: warning: using vector_length (32), ignoring 1
libgomp/
* testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90:
OpenACC 'serial' construct diagnostic for nvptx offloading.
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 b/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 index 644ad1f..7bca2df 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90 @@ -88,6 +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 } var3%t2(5)%t1%arr1(:,:) = 6 !$acc end serial |