Tobias Burnus
091b6dbc48
OpenMP/Fortran: Permit end-clause on directive
gcc/fortran/ChangeLog:
* openmp.cc (OMP_DO_CLAUSES, OMP_SCOPE_CLAUSES,
OMP_SECTIONS_CLAUSES): Add 'nowait'.
(OMP_SINGLE_CLAUSES): Add 'nowait' and 'copyprivate'.
(gfc_match_omp_distribute_parallel_do,
gfc_match_omp_distribute_parallel_do_simd,
gfc_match_omp_parallel_do,
gfc_match_omp_parallel_do_simd,
gfc_match_omp_parallel_sections,
gfc_match_omp_teams_distribute_parallel_do,
gfc_match_omp_teams_distribute_parallel_do_simd): Disallow 'nowait'.
(gfc_match_omp_workshare): Match 'nowait' clause.
(gfc_match_omp_end_single): Use clause matcher for 'nowait'.
(resolve_omp_clauses): Reject 'nowait' + 'copyprivate'.
* parse.cc (decode_omp_directive): Break too long line.
(parse_omp_do, parse_omp_structured_block): Diagnose duplicated
'nowait' clause.
libgomp/ChangeLog:
* libgomp.texi (OpenMP 5.2): Mark end-directive as Y.
gcc/testsuite/ChangeLog:
* gfortran.dg/gomp/copyprivate-1.f90: New test.
* gfortran.dg/gomp/copyprivate-2.f90: New test.
* gfortran.dg/gomp/nowait-2.f90: Move dg-error tests ...
* gfortran.dg/gomp/nowait-4.f90: ... to this new file.
* gfortran.dg/gomp/nowait-5.f90: New test.
* gfortran.dg/gomp/nowait-6.f90: New test.
* gfortran.dg/gomp/nowait-7.f90: New test.
* gfortran.dg/gomp/nowait-8.f90: New test.
2022-11-28 11:10:31 +01:00
..
2022-11-21 15:22:35 +01:00
2022-11-25 13:48:17 +01:00
2022-11-25 18:13:22 +00:00
2022-01-03 10:42:10 +01:00
2022-06-28 10:35:32 +02:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-05-28 08:30:47 +02:00
2022-06-10 21:19:51 +02:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-11-26 00:17:08 +00:00
2022-05-12 15:11:30 +02:00
2022-11-14 09:35:05 +01:00
2022-11-14 09:35:05 +01:00
2022-03-29 17:43:35 +08:00
2022-01-03 10:42:10 +01:00
2022-11-12 09:50:04 +01:00
2022-01-03 10:42:10 +01:00
2022-10-12 18:39:20 +02:00
2022-01-03 10:42:10 +01:00
2022-09-08 10:19:37 -07:00
2022-09-08 10:19:37 -07:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-05-24 09:12:44 +02:00
2022-10-24 17:04:08 +02:00
2022-11-04 10:51:01 +01:00
2022-10-24 17:04:08 +02:00
2022-10-24 17:04:08 +02:00
2022-11-28 11:10:31 +01:00
2022-01-03 10:42:10 +01:00
2022-04-26 08:57:17 +02:00
2022-04-26 08:57:17 +02:00
2022-05-12 15:11:30 +02:00
2022-11-14 09:35:06 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-09-09 17:37:09 +02:00
2022-07-04 13:52:02 +02:00
2022-01-03 10:42:10 +01:00
2022-11-02 20:51:41 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-10-12 18:39:20 +02:00
2022-10-12 18:39:20 +02:00
2022-10-12 18:39:20 +02:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-04-26 08:57:17 +02:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-08-17 15:36:41 +02:00
2022-10-24 17:04:08 +02:00
2022-10-12 18:39:20 +02:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-01-03 10:42:10 +01:00
2022-04-26 08:57:17 +02:00