r239457 - in /trunk: gcc/fortran/ChangeLog gcc/...

cltang@gcc.gnu.org cltang@gcc.gnu.org
Sun Aug 14 18:19:00 GMT 2016


Author: cltang
Date: Sun Aug 14 18:19:10 2016
New Revision: 239457

URL: https://gcc.gnu.org/viewcvs?rev=239457&root=gcc&view=rev
Log:
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.


Added:
    trunk/libgomp/testsuite/libgomp.oacc-fortran/host_data-1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/openmp.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/goacc/host_data-tree.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/list.f95
    trunk/gcc/testsuite/gfortran.dg/goacc/uninit-use-device-clause.f95
    trunk/libgomp/ChangeLog



More information about the Gcc-cvs mailing list