[all-commits] [llvm/llvm-project] 623d3b: [Flang][OpenMP] Data-sharing restrictions on assum...

Phoebe Linck via All-commits all-commits at lists.llvm.org
Thu Apr 9 01:24:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 623d3bbdc5f7d78085c97261b0baff41901d4739
      https://github.com/llvm/llvm-project/commit/623d3bbdc5f7d78085c97261b0baff41901d4739
  Author: Phoebe Linck <phoebe.linck at hpe.com>
  Date:   2026-04-09 (Thu, 09 Apr 2026)

  Changed paths:
    M flang/lib/Semantics/check-omp-loop.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    A flang/test/Semantics/OpenMP/assumed-size-array-dsa.f90
    M flang/test/Semantics/OpenMP/cray-pointer-usage.f90

  Log Message:
  -----------
  [Flang][OpenMP] Data-sharing restrictions on assumed-size arrays (#189324)

Per `OpenMP 5.0 2.19.1 Data-Sharing Attribute Rules`, assumed-size
arrays are predetermined shared and may not appear in a data-sharing
clause besides `shared`.

Patch adds a semantics check for assumed-size arrays appearing in
clauses where they aren't allowed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list