This is an archive of the discontinued LLVM Phabricator instance.

[flang] Correct folding of TRANSFER(integer, character array)
ClosedPublic

Authored by klausler on Jul 22 2022, 12:02 PM.

Details

Summary

The code that copies data from a constant source array into a character
array constant result was failing to copy its last element if it was
only partially defined due to misalignment.

Diff Detail

Event Timeline

klausler created this revision.Jul 22 2022, 12:02 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2022, 12:02 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jul 22 2022, 12:02 PM
PeteSteinfeld accepted this revision.Jul 22 2022, 4:07 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jul 22 2022, 4:07 PM