[all-commits] [llvm/llvm-project] 8489f1: [flang][runtime] Handle explicit-length character ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Mar 2 10:43:29 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8489f17713833b7ae79a734e065e9c181b9bc294
      https://github.com/llvm/llvm-project/commit/8489f17713833b7ae79a734e065e9c181b9bc294
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M flang/include/flang/Runtime/assign.h
    M flang/runtime/assign.cpp
    M flang/runtime/type-info.h

  Log Message:
  -----------
  [flang][runtime] Handle explicit-length character padding & truncation in Assign()

When the left-hand side of an allocatable assignment has an explicit character length,
rather than a deferred length that might imply reallocation, handle any discrepancy
in lengths via truncation or blank padding.

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




More information about the All-commits mailing list