[all-commits] [llvm/llvm-project] 48dc5c: [Flang][OpenMP] Use the ultimate symbol in a call ...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Thu Nov 4 12:54:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48dc5c8e731b1198c4ba4b2f08b235c55e6d5aef
      https://github.com/llvm/llvm-project/commit/48dc5c8e731b1198c4ba4b2f08b235c55e6d5aef
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M flang/lib/Semantics/pointer-assignment.cpp
    A flang/test/Semantics/omp-private-is-pointer-check.f90

  Log Message:
  -----------
  [Flang][OpenMP] Use the ultimate symbol in a call to the IsPointer function

The IsPointer check currently fails for host-associated symbols in OpenMP
regions. This causes some failures in semantic checks for pointer association
in an OpenMP region. Fix is to use the ultimate symbol in the call to the
IsPointer function in CheckPointerAssignment function in
lib/Semantics/pointer-assignment.cpp.

Reviewed By: klausler, peixin

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




More information about the All-commits mailing list