diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2019-02-28 21:31:23 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2019-02-28 21:31:23 +0100 |
commit | e5fd6684b9577e822997ceedabfeaa7d61722fe2 (patch) | |
tree | a9ce3a476a0cc9f399634c7fe84677a40a285410 /gcc/cppdefault.c | |
parent | 6f87db2d7823ff70eca4fa76950aafe8a98d7356 (diff) | |
download | gcc-e5fd6684b9577e822997ceedabfeaa7d61722fe2.zip gcc-e5fd6684b9577e822997ceedabfeaa7d61722fe2.tar.gz gcc-e5fd6684b9577e822997ceedabfeaa7d61722fe2.tar.bz2 |
[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.
Co-Authored-By: Cesar Philippidis <cesar@codesourcery.com>
From-SVN: r269286
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions