Fortran: Add OpenMP's nothing directive support
Fortran version of commit 5079b778 gcc/fortran/ChangeLog: * match.h (gfc_match_omp_nothing): New. * openmp.c (gfc_match_omp_nothing): New. * parse.c (decode_omp_directive): Match 'nothing' directive. gcc/testsuite/ChangeLog: * gfortran.dg/nothing-1.f90: New test. * gfortran.dg/nothing-2.f90: New test.
Showing
- gcc/fortran/match.h 1 addition, 0 deletionsgcc/fortran/match.h
- gcc/fortran/openmp.c 11 additions, 0 deletionsgcc/fortran/openmp.c
- gcc/fortran/parse.c 3 additions, 0 deletionsgcc/fortran/parse.c
- gcc/testsuite/gfortran.dg/nothing-1.f90 28 additions, 0 deletionsgcc/testsuite/gfortran.dg/nothing-1.f90
- gcc/testsuite/gfortran.dg/nothing-2.f90 7 additions, 0 deletionsgcc/testsuite/gfortran.dg/nothing-2.f90
Loading
Please register or sign in to comment