[all-commits] [llvm/llvm-project] 514c1e: [flang][runtime] Interoperable POINTER deallocatio...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 24 10:46:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 514c1ec5477a48e4f639c0b15ab757832b67dd10
      https://github.com/llvm/llvm-project/commit/514c1ec5477a48e4f639c0b15ab757832b67dd10
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M flang/include/flang/Runtime/pointer.h
    M flang/runtime/ISO_Fortran_binding.cpp
    M flang/runtime/descriptor.cpp
    M flang/runtime/pointer.cpp

  Log Message:
  -----------
  [flang][runtime] Interoperable POINTER deallocation validation (#96100)

Extend the runtime validation of deallocated pointers so that it also
works when pointers are allocated &/or deallocated outside Fortran.
Previously, bogus runtime errors would be reported for pointers
allocated via CFI_allocate() and deallocated in Fortran, and
CFI_deallocate() did not check that it was deallocating a whole
contiguous pointer that was allocated as such.



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