https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741

--- Comment #10 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Author: tschwinge
Date: Thu Feb 28 20:31:23 2019
New Revision: 269286

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

Added:
    trunk/gcc/testsuite/gfortran.dg/goacc/routine-multiple-lop-clauses-1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/openmp.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to