[all-commits] [llvm/llvm-project] 944100: [flang][OpenMP] Add one semantic check for data-sh...

PeixinQiao via All-commits all-commits at lists.llvm.org
Wed Jun 15 01:03:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9441003b5258c7e206b5a3b7324a0eedee705160
      https://github.com/llvm/llvm-project/commit/9441003b5258c7e206b5a3b7324a0eedee705160
  Author: Peixin-Qiao <qiaopeixin at huawei.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    A flang/test/Semantics/OpenMP/omp-copying.f90

  Log Message:
  -----------
  [flang][OpenMP] Add one semantic check for data-sharing clauses

As OpenMP 5.0, for firstprivate, lastprivate, copyin, and copyprivate
clauses, if the list item is a polymorphic variable with the allocatable
attribute, the behavior is unspecified.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list