This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by klausler on Mar 1 2023, 12:52 PM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Mar 1 2023, 12:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2023, 12:52 PM
klausler requested review of this revision.Mar 1 2023, 12:52 PM
This revision is now accepted and ready to land.Mar 1 2023, 1:08 PM