[all-commits] [llvm/llvm-project] b6b0f9: [flang][OpenMP] Support reduction of POINTER varia...

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Jun 14 02:11:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6b0f975a6005de530262ed1c5643d1060c86d63
      https://github.com/llvm/llvm-project/commit/b6b0f975a6005de530262ed1c5643d1060c86d63
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    A flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
    A flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90

  Log Message:
  -----------
  [flang][OpenMP] Support reduction of POINTER variables (#95148)

Just treat them the same as ALLOCATABLE. gfortran doesn't allow POINTER
objects in a REDUCTION clause, but so far as I can tell the standard
explicitly allows it (openmp5.2 section 5.5.5).



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