This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix list-directed plural repeated null values at end of record
ClosedPublic

Authored by klausler on Aug 11 2021, 10:26 AM.

Details

Summary

A repeated null value at the end of an input record with a count > 1
would incorrectly advance to the next record when resumed. Fix.

Improve some poor naming and code flow noticed while debugging, so
next time will be easier.

Extend a unit test to check this case.

Diff Detail

Event Timeline

klausler created this revision.Aug 11 2021, 10:26 AM
klausler requested review of this revision.Aug 11 2021, 10:26 AM
PeteSteinfeld accepted this revision.Aug 11 2021, 12:32 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 11 2021, 12:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2021, 1:19 PM