After an ENDFILE statement, a WRITE is an error without
a prior BACKSPACE. Also fix the return value for the case
of formatted integer input with no input digits to be false
(exposed by new test).
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D117346
[flang] Signal runtime error on WRITE after ENDFILE ClosedPublic Authored by klausler on Jan 14 2022, 11:08 AM.
Details Summary After an ENDFILE statement, a WRITE is an error without
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jan 14 2022, 11:17 AM Closed by commit rGac4202fe9daf: [flang] Signal runtime error on WRITE after ENDFILE (authored by klausler). · Explain WhyJan 14 2022, 2:46 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 400081 flang/include/flang/Runtime/iostat.h
flang/runtime/connection.h
flang/runtime/connection.cpp
flang/runtime/edit-input.cpp
flang/runtime/iostat.cpp
flang/runtime/unit.cpp
flang/unittests/Runtime/ExternalIOTest.cpp
|