[all-commits] [llvm/llvm-project] 7cf198: [flang][runtime] Don't do partial data transfer on...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Jul 17 10:04:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cf198f7988bf94306d9a6cd26228b81f7c7ca7f
https://github.com/llvm/llvm-project/commit/7cf198f7988bf94306d9a6cd26228b81f7c7ca7f
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M flang/runtime/edit-input.cpp
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
M flang/unittests/Runtime/ExternalIOTest.cpp
Log Message:
-----------
[flang][runtime] Don't do partial data transfer on short character read with ADVANCE='NO', PAD='NO'
When a non-advancing formatted READ can't completely fill a CHARACTER
input item with data, and PAD='NO', don't modify the variable at all.
This matters when the error is recoverable.
Fixes https://github.com/llvm/llvm-project/issues/63772
Differential Revision: https://reviews.llvm.org/D155000
More information about the All-commits
mailing list