[all-commits] [llvm/llvm-project] e838c0: [Flang] Use the ultimate symbol in a DeallocateStm...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Fri Oct 7 07:48:33 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e838c0658835ed08b153dbd672e5ba90f3eb6b4d
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M flang/lib/Semantics/check-deallocate.cpp
    A flang/test/Semantics/OpenMP/dealloc.f90

  Log Message:
  [Flang] Use the ultimate symbol in a DeallocateStmt check

Use the ultimate symbol while calling the `IsAllocatableOrPointer`
function to ensure that the check works as expected for
host-associated symbols.

Fixes #58178

Reviewed By: PeteSteinfeld

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

More information about the All-commits mailing list