This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Catch infinite unlimited format repetition better
ClosedPublic

Authored by klausler on Mar 9 2023, 4:31 PM.

Details

Summary

The runtime check for infinite unlimited format repetition is missing
the case of implicit unlimited format repetition at the top level
without finding the next data edit descriptor that corresponds with
a data list item.

Replace the check with a Boolean flag that detects unlimited
repetition hitting a right parenthesis and restarting, and fail
when it happens the second time.

Diff Detail

Event Timeline

klausler created this revision.Mar 9 2023, 4:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 4:31 PM
klausler requested review of this revision.Mar 9 2023, 4:31 PM
vdonaldson accepted this revision.Mar 10 2023, 9:18 AM
This revision is now accepted and ready to land.Mar 10 2023, 9:18 AM