This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Don't loop in runtime if blank appears in BOZ input
ClosedPublic

Authored by klausler on Jun 9 2022, 12:16 PM.

Details

Summary

The code for scanning BOZ input allows for blanks and tabs to appear,
but can hang if they do and the BOZ input value is not followed by
extra valid digits; the repositioning for the second sweep simply
needed to be done in units of character, not valid digits.

Diff Detail

Event Timeline

klausler created this revision.Jun 9 2022, 12:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2022, 12:16 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jun 9 2022, 12:16 PM
vdonaldson accepted this revision.Jun 13 2022, 12:52 PM
This revision is now accepted and ready to land.Jun 13 2022, 12:52 PM