[all-commits] [llvm/llvm-project] 7b9518: [flang][runtime] Accommodate change of type in ass...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jun 4 09:22:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b9518ae277d48b733bbd542dbe9f3388f5ceee1
      https://github.com/llvm/llvm-project/commit/7b9518ae277d48b733bbd542dbe9f3388f5ceee1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-06-04 (Wed, 04 Jun 2025)

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

  Log Message:
  -----------
  [flang][runtime] Accommodate change of type in assignment to allocatable (#141988)

When an assignment to a derived type allocatable requires
(re)allocation, its type may change to that of the right-hand side. The
code didn't update its derived type pointer, leading to the wrong type
being put into the descriptors created for elemental defined assignment
subroutine calls.

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



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