]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR fortran/70598 (Fortran OpenACC host_data construct ICE)
authorChung-Lin Tang <cltang@codesourcery.com>
Sun, 14 Aug 2016 18:19:10 +0000 (18:19 +0000)
committerChung-Lin Tang <cltang@gcc.gnu.org>
Sun, 14 Aug 2016 18:19:10 +0000 (18:19 +0000)
commit7c7137142cf89bd7f5aba0b8fa829852f8b8bd94
tree670bf5a89694b2fc6c21a4f52a1aae8f2634f51a
parentc42b0bdf2f3d22167ed6d66a249d0d7c77a672b1
re PR fortran/70598 (Fortran OpenACC host_data construct ICE)

2016-08-14  Chung-Lin Tang  <cltang@codesourcery.com>

PR fortran/70598

gcc/fortran/
* openmp.c (resolve_omp_clauses): Adjust use_device clause
handling to only allow pointers and arrays.

gcc/testsuite/
* gfortran.dg/goacc/host_data-tree.f95: Adjust to use pointers
in use_device clause.
* gfortran.dg/goacc/uninit-use-device-clause.f95: Likewise.
* gfortran.dg/goacc/list.f95: Adjust to catch
"neither a POINTER nor an array" error messages.

libgomp/
* testsuite/libgomp.oacc-fortran/host_data-1.f90: New test.

From-SVN: r239457
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95
gcc/testsuite/gfortran.dg/goacc/list.f95
gcc/testsuite/gfortran.dg/goacc/uninit-use-device-clause.f95
libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-fortran/host_data-1.f90 [new file with mode: 0644]