The OpenMP 5.0 standard restricts nowait clause to appear only once on sections
directive.
See OpenMP 5.0
- 2.8.1
- point 3 in restrictions.
Added a test with fix.
Paths
| Differential D88556
[Flang][OpenMP] Fix issue in only a single nowait clause can appear on a sections directive. ClosedPublic Authored by sameeranjoshi on Sep 30 2020, 4:51 AM.
Details Summary The OpenMP 5.0 standard restricts nowait clause to appear only once on sections
Added a test with fix.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 30 2020, 5:34 AM
Closed by commit rG3291041641fe: [Flang][OpenMP] Fix issue in only a single nowait clause can appear on a… (authored by sameeranjoshi). · Explain WhyOct 14 2020, 3:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 298102 flang/lib/Semantics/check-omp-structure.cpp
flang/test/Semantics/omp-clause-validity01.f90
flang/test/Semantics/omp-sections01.f90
|
This should probably be done with TableGen but we can check that in another revision