[all-commits] [llvm/llvm-project] 6111c9: [flang][runtime] Handle ALLOCATE(..., short SOURCE...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Aug 29 07:50:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6111c9cfdcc054306de0a17d9eab5274ca6a34e1
      https://github.com/llvm/llvm-project/commit/6111c9cfdcc054306de0a17d9eab5274ca6a34e1
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

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

  Log Message:
  -----------
  [flang][runtime] Handle ALLOCATE(..., short SOURCE=) (#155715)

Ensure that blank padding takes place when a fixed-length character
allocatable is allocated with a short SOURCE= specifier. While here,
clean up DoFromSourceAssign() so that it uses a temporary descriptor on
the stack rather than allocating one from the heap.

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



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