diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-01-02 09:49:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-02 09:49:50 -0800 |
commit | 9fd03cb6522ac1469512502713bedf8b352e2589 (patch) | |
tree | 35f870d50debfde30a46f1b8d0f493416b626dab /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 8fa3184539df441ca325d8b70ae5b573c46d8450 (diff) | |
download | llvm-9fd03cb6522ac1469512502713bedf8b352e2589.zip llvm-9fd03cb6522ac1469512502713bedf8b352e2589.tar.gz llvm-9fd03cb6522ac1469512502713bedf8b352e2589.tar.bz2 |
[flang][runtime] Don't prematurely end formatted integer input (#76643)
When an input data-list has more items than can be read by a format from
the input record (e.g., "(4I5)" reading "1 2"), don't return false from
EditIntegerInput() just because nothing was read -- that will prevent
later items from being set to zero, as they should be. Return true
unless nothing was read and there is some kind of error pending.
Fixes llvm-error-tests/Fortran/gfortran/regression/pr478478.f90.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions