[all-commits] [llvm/llvm-project] cea8b8: [flang][runtime] Don't pad CHARACTER input at end ...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon May 9 12:47:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cea8b8a72d877a796c1e97fca2adae8a85bb36a1
https://github.com/llvm/llvm-project/commit/cea8b8a72d877a796c1e97fca2adae8a85bb36a1
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M flang/runtime/connection.h
M flang/runtime/edit-input.cpp
M flang/runtime/io-api.cpp
M flang/unittests/Runtime/ExternalIOTest.cpp
Log Message:
-----------
[flang][runtime] Don't pad CHARACTER input at end of record unless PAD='YES'
When formatted CHARACTER input runs into the end of an input record,
the runtime usually fills the remainder of the variable with spaces,
but this should be conditional, and not done when PAD='NO'.
And while here, add some better comments to two members of connection.h
to make their non-obvious relationship more clear.
Differential Revision: https://reviews.llvm.org/D125053
More information about the All-commits
mailing list