]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR72741] For all Fortran OpenACC 'routine' directive variants check for multiple...
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Feb 2019 20:31:23 +0000 (20:31 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Feb 2019 20:31:23 +0000 (20:31 +0000)
commit7378dd70e000e78ba7a266349077ab6ef36b5c62
treea9ce3a476a0cc9f399634c7fe84677a40a285410
parent1d86d0eb3e7b6c3d799c91fad4bc12da572160fd
[PR72741] For all Fortran OpenACC 'routine' directive variants check for multiple clauses specifying the level of parallelism

gcc/fortran/
PR fortran/72741
* gfortran.h (enum oacc_routine_lop): Add OACC_ROUTINE_LOP_ERROR.
* openmp.c (gfc_oacc_routine_lop, gfc_match_oacc_routine): Use it.
* trans-decl.c (add_attributes_to_decl): Likewise.
gcc/testsuite/
PR fortran/72741
* gfortran.dg/goacc/routine-multiple-lop-clauses-1.f90: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269286 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/openmp.c
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/goacc/routine-multiple-lop-clauses-1.f90 [new file with mode: 0644]