]> git.ipfire.org Git - thirdparty/gcc.git/commit
OpenMP: Handle order(concurrent) clause in gfortran
authorTobias Burnus <tobias@codesourcery.com>
Fri, 21 Aug 2020 15:54:21 +0000 (17:54 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Fri, 21 Aug 2020 15:54:21 +0000 (17:54 +0200)
commit835160b024ce34bc6f258e7df366bb5c15e12a4b
treee01337c391a06f235a69736bac8c22dfa725ad51
parenta477484ea40cdce12038ce7f8dc84772f06fc151
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.

(cherry picked from commit d8140b9ed3c0fed041aedaff3fa4a603984ca10f)
gcc/fortran/ChangeLog.omp
gcc/fortran/dump-parse-tree.c
gcc/fortran/gfortran.h
gcc/fortran/openmp.c
gcc/fortran/trans-openmp.c
gcc/testsuite/ChangeLog.omp
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]