[all-commits] [llvm/llvm-project] 36ccfe: [flang] Clear obsolete type from reallocated alloc...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu May 15 11:26:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36ccfe29be3a5fec8c9c2e1d8354e304500afd9b
      https://github.com/llvm/llvm-project/commit/36ccfe29be3a5fec8c9c2e1d8354e304500afd9b
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M flang-rt/lib/runtime/assign.cpp

  Log Message:
  -----------
  [flang] Clear obsolete type from reallocated allocatable (#139788)

When an assignment to a polymorphic allocatable changes its type to an
intrinsic type, be sure to reset its descriptor's derived type pointer
to null.

Fixes https://github.com/llvm/llvm-project/issues/136522.



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