[all-commits] [llvm/llvm-project] 329104: [Flang][OpenMP] Fix issue in only a single nowait ...

sameeranjoshi via All-commits all-commits at lists.llvm.org
Wed Oct 14 03:53:39 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3291041641febf73ba98f074a946fe92331de90b
      https://github.com/llvm/llvm-project/commit/3291041641febf73ba98f074a946fe92331de90b
  Author: sameeran joshi <sameeranjayant.joshi at amd.com>
  Date:   2020-10-14 (Wed, 14 Oct 2020)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/test/Semantics/omp-clause-validity01.f90
    M flang/test/Semantics/omp-sections01.f90

  Log Message:
  -----------
  [Flang][OpenMP] Fix issue in only a single nowait clause can appear on a sections directive.

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.

Reviewed By: DavidTruby

Differential Revision: https://reviews.llvm.org/D88556




More information about the All-commits mailing list