This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Fix bug with extra leading zero in octal output
ClosedPublic

Authored by klausler on Jun 3 2022, 3:41 PM.

Details

Summary

Octal (O) output editing often emits an extra leading 0 digit
due to the total digit count being off by one since word sizes
aren't multiples of three bits.

Diff Detail

Event Timeline

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