diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-02-20 13:41:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 13:41:15 -0800 |
commit | 96b17043507caec02a2ef440b369506122bdeb11 (patch) | |
tree | 356313aa70fb3aa993965a958ef86431decb5e0b /lld/test | |
parent | 1219214a3bcc51022492928b8bb4ff4bdb75d0cb (diff) | |
download | llvm-96b17043507caec02a2ef440b369506122bdeb11.zip llvm-96b17043507caec02a2ef440b369506122bdeb11.tar.gz llvm-96b17043507caec02a2ef440b369506122bdeb11.tar.bz2 |
[flang][runtime] Don't write implied ENDFILE for REC=/POS= (#79637)
An implied ENDFILE record, which truncates an external file, should be
written to a sequential unit whenever the file is repositioned for a
BACKSPACE or REWIND statement if a WRITE statement has executed since
the last OPEN/BACKSPACE/REWIND.
But the REC= and POS= positioning specifiers don't apply to sequential
units (they're for direct and stream units, resp.), so don't truncate
the file when they're used.
Diffstat (limited to 'lld/test')
0 files changed, 0 insertions, 0 deletions