[flang-commits] [PATCH] D145111: [flang][runtime] Handle explicit-length character padding & truncation in Assign()

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Mar 1 12:52:27 PST 2023


klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

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.


https://reviews.llvm.org/D145111

Files:
  flang/include/flang/Runtime/assign.h
  flang/runtime/assign.cpp
  flang/runtime/type-info.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145111.501640.patch
Type: text/x-patch
Size: 18799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230301/3e45cb5a/attachment-0001.bin>


More information about the flang-commits mailing list