diff options
author | Julian Brown <julian@codesourcery.com> | 2021-02-09 12:00:14 -0800 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2021-02-09 19:16:28 -0800 |
commit | f7fb2f662fe12f327ece8b034ab76b36fdca4696 (patch) | |
tree | d8e4dc3de583af8ccaba0431d265ccebf60cd74d /libgomp | |
parent | b0fb2720d88d680af18981a2097397196b505a1f (diff) | |
download | gcc-f7fb2f662fe12f327ece8b034ab76b36fdca4696.zip gcc-f7fb2f662fe12f327ece8b034ab76b36fdca4696.tar.gz gcc-f7fb2f662fe12f327ece8b034ab76b36fdca4696.tar.bz2 |
openacc: Add XFAILs [PR98979]
This patch adds some XFAILs for PR98979 until the patch to fix them has
been approved. See:
https://gcc.gnu.org/pipermail/gcc-patches/2021-February/564711.html
gcc/testsuite/
PR fortran/98979
* gfortran.dg/goacc/array-with-dt-2.f90: Add expected errors.
* gfortran.dg/goacc/derived-chartypes-1.f90: Skip ICEing test.
* gfortran.dg/goacc/derived-chartypes-2.f90: Likewise.
libgomp/
PR fortran/98979
* testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90: Add expected
errors.
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 b/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 index f04d76d..6125070 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90 @@ -24,8 +24,9 @@ end do b(1)%A(:,:) = 5 -!$acc update device(b(::2)) -!$acc update device(b(1)%A(::3,::4)) +! TODO: Remove expected errors once this is supported. +!$acc update device(b(::2)) ! { dg-error "Stride should not be specified for array section in MAP clause" } +!$acc update device(b(1)%A(::3,::4)) ! { dg-error "Stride should not be specified for array section in MAP clause" } do i=1,20 !$acc exit data copyout(b(i)%A) |