-
- Downloads
re PR fortran/87725 (OpenMP 4.5 clause schedule(simd,monotonic:static) not understood)
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. From-SVN: r265479
Showing
- gcc/fortran/ChangeLog 9 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/openmp.c 28 additions, 9 deletionsgcc/fortran/openmp.c
- gcc/testsuite/ChangeLog 8 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/c-c++-common/gomp/schedule-modifiers-1.c 4 additions, 4 deletionsgcc/testsuite/c-c++-common/gomp/schedule-modifiers-1.c
- gcc/testsuite/gfortran.dg/gomp/schedule-modifiers-1.f90 63 additions, 0 deletionsgcc/testsuite/gfortran.dg/gomp/schedule-modifiers-1.f90
- gcc/testsuite/gfortran.dg/gomp/schedule-modifiers-2.f90 44 additions, 0 deletionsgcc/testsuite/gfortran.dg/gomp/schedule-modifiers-2.f90
Loading
Please register or sign in to comment