diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-07-07 14:51:40 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-07-13 16:12:12 -0700 |
commit | 1a65d09dcf9b9bed89f8c4fd848a056ebb507597 (patch) | |
tree | 14e28cafc2b5949ce52aac5603c283e2bf6ef6f0 /clang/lib/ExtractAPI | |
parent | faffcc3a46cb667fb8e2e6d0e6c14ed74300d7b5 (diff) | |
download | llvm-1a65d09dcf9b9bed89f8c4fd848a056ebb507597.zip llvm-1a65d09dcf9b9bed89f8c4fd848a056ebb507597.tar.gz llvm-1a65d09dcf9b9bed89f8c4fd848a056ebb507597.tar.bz2 |
[flang][runtime] Keep frame buffer in sync with file when truncating
When the I/O runtime is truncating an external file due to an
implied ENDFILE or explicit ENDFILE, ensure that the unit's frame
buffer for the file discards any data that have become obsolete.
This bug caused trouble with ACCESS='STREAM' I/O using POS= on
a WRITE, but it may have not been limited to that scenario.
Differential Revision: https://reviews.llvm.org/D129673
Diffstat (limited to 'clang/lib/ExtractAPI')
0 files changed, 0 insertions, 0 deletions