re PR fortran/85701 ([openacc] ICE in mark_scope_block_unused, at tree-ssa-live.c...
authorCesar Philippidis <cesar@codesourcery.com>
Tue, 5 Jun 2018 13:58:50 +0000 (06:58 -0700)
committerCesar Philippidis <cesar@gcc.gnu.org>
Tue, 5 Jun 2018 13:58:50 +0000 (06:58 -0700)
commitab44754ea2fd101fd3393e50a4d89135d691d32e
treed29dc8c00eaec15072dbf829a2f87a9d848f4c15
parentf115c9b536ee5e88ca72c94762974459e8d1cc06
re PR fortran/85701 ([openacc] ICE in mark_scope_block_unused, at tree-ssa-live.c:364)

PR fortran/85701

gcc/fortran/
* openmp.c (gfc_resolve_oacc_declare): Error on functions and
subroutine data clause arguments.

gcc/testsuite/
* gfortran.dg/goacc/pr85701.f90: New test.

From-SVN: r261202
gcc/fortran/ChangeLog
gcc/fortran/openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/pr85701.f90 [new file with mode: 0644]