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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 11:09:22 2019
New Revision: 275067

URL: https://gcc.gnu.org/viewcvs?rev=275067&root=gcc&view=rev
Log:
        Backported from mainline
        2018-10-25  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/87725
        * openmp.c (gfc_match_omp_clauses): Parse simd, monotonic and
        nonmonotonic modifiers regardless of if they have been parsed
        already or if the opposite one has.  Fix up check whether
        comma after modifier should be parsed.
        (resolve_omp_clauses): Diagnose schedule modifier restrictions.

        * c-c++-common/gomp/schedule-modifiers-1.c (bar): Separate modifier
        from kind with a colon rather than comma.
        * gfortran.dg/gomp/schedule-modifiers-1.f90: New test.
        * gfortran.dg/gomp/schedule-modifiers-2.f90: New test.

Added:
   
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/gomp/schedule-modifiers-1.f90
   
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/gomp/schedule-modifiers-2.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/openmp.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
   
branches/gcc-7-branch/gcc/testsuite/c-c++-common/gomp/schedule-modifiers-1.c

Reply via email to