This is an archive of the discontinued LLVM Phabricator instance.

[flang] Defer "next input record" processing until handlers established
ClosedPublic

Authored by klausler on Aug 3 2020, 2:47 PM.

Details

Summary

External input was detecting "end of file" conditions in
BeginExternal...Input() and BeginUnformattedInput() routines
before EnableHandlers() could have been called. Defer the
"start next record" processing to the input data item
handlers (and EndIoStatement() for when there are no data
items).

Diff Detail

Event Timeline

klausler created this revision.Aug 3 2020, 2:47 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Aug 3 2020, 2:47 PM
PeteSteinfeld accepted this revision.Aug 3 2020, 4:08 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 3 2020, 4:08 PM
tskeith accepted this revision.Aug 3 2020, 4:19 PM