OpenMP: Handle order(concurrent) clause in gfortran
authorTobias Burnus <tobias@codesourcery.com>
Wed, 29 Jul 2020 16:37:13 +0000 (18:37 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 29 Jul 2020 16:37:13 +0000 (18:37 +0200)
commitd8140b9ed3c0fed041aedaff3fa4a603984ca10f
tree5c1c7909d60df14ee9a979602a3217b39a148d10
parentf6fe3bbf9f6c0b7249933e19b94560b6b26bf269
OpenMP: Handle order(concurrent) clause in gfortran

gcc/fortran/ChangeLog:

* dump-parse-tree.c (show_omp_clauses): Handle order(concurrent).
* gfortran.h (struct gfc_omp_clauses): Add order_concurrent.
* openmp.c (enum omp_mask1, OMP_DO_CLAUSES, OMP_SIMD_CLAUSES):
Add OMP_CLAUSE_ORDER.
* trans-openmp.c (gfc_trans_omp_clauses, gfc_split_omp_clauses):
Handle order(concurrent) clause.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/order-3.f90: New test.
* gfortran.dg/gomp/order-4.f90: New test.
gcc/fortran/dump-parse-tree.c
gcc/fortran/gfortran.h
gcc/fortran/openmp.c
gcc/fortran/trans-openmp.c
gcc/testsuite/gfortran.dg/gomp/order-3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/gomp/order-4.f90 [new file with mode: 0644]