This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't blank-fill remaining lines in internal output
ClosedPublic

Authored by klausler on Jan 14 2022, 10:57 AM.

Details

Summary

Internal writes to character arrays should not blank-fill
records (elements) past the last one that was written to.

Diff Detail

Event Timeline

klausler created this revision.Jan 14 2022, 10:57 AM
klausler requested review of this revision.Jan 14 2022, 10:57 AM
vdonaldson added inline comments.Jan 14 2022, 11:02 AM
flang/unittests/Runtime/NumericalFormatTest.cpp
25

Is this temporary code?

klausler added inline comments.Jan 14 2022, 11:09 AM
flang/unittests/Runtime/NumericalFormatTest.cpp
25

Whoops! Thanks for noticing.

klausler updated this revision to Diff 400083.Jan 14 2022, 11:13 AM

Remove debugging code from test.

vdonaldson accepted this revision.Jan 14 2022, 11:21 AM
This revision is now accepted and ready to land.Jan 14 2022, 11:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2022, 3:15 PM