This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix character length calculation for Unicode component
ClosedPublic

Authored by klausler on May 21 2022, 10:04 PM.

Details

Summary

The character length value in the derived type component information table
entry is already in units of characters, not bytes, so don't divide by the
per-character byte size.

Diff Detail

Event Timeline

klausler created this revision.May 21 2022, 10:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2022, 10:04 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 21 2022, 10:04 PM
vdonaldson accepted this revision.May 23 2022, 9:07 AM
This revision is now accepted and ready to land.May 23 2022, 9:07 AM