llvm-project
e2da32dd - [flang-rt] Fix undetected runtime error for direct-access read of an unwritten record (#246109)

Commit
1 day ago
[flang-rt] Fix undetected runtime error for direct-access read of an unwritten record (#246109) Issue 193434 reports that reading an undefined record in a direct access file silently succeeds. Problem was `unit.cpp` was reporting the error condition as an end-of-file, while it should have been reporting the error as an end-of-direct-access-file (`IostatEndfileDirect,`). Fixes https://github.com/llvm/llvm-project/issues/193434
Author
Parents
Loading