Check array contiguity for OpenACC/Fortran
authorJulian Brown <julian@codesourcery.com>
Sat, 4 Jan 2020 01:39:56 +0000 (17:39 -0800)
committerJulian Brown <julian@codesourcery.com>
Tue, 28 Jan 2020 14:00:30 +0000 (06:00 -0800)
commita5ed4958a2c1b563e933b25ca3b481761cc40b07
tree1fa8f2157f7b0382370e65956bf4f2d569afcada
parent278c3214b344ac7c5daf974196fbebc531bff058
Check array contiguity for OpenACC/Fortran

PR fortran/93025

gcc/fortran/
* openmp.c (resolve_omp_clauses): Check array references for contiguity.

gcc/testsuite/
* gfortran.dg/goacc/mapping-tests-2.f90: New test.
* gfortran.dg/goacc/subarrays.f95: Expect rejection of non-contiguous
array.
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/mapping-tests-2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/subarrays.f95