This is an archive of the discontinued LLVM Phabricator instance.

[flang] Refine handling of short character actual arguments
ClosedPublic

Authored by klausler on May 6 2022, 11:46 AM.

Details

Summary

Actual arguments whose lengths are less than the expected length
of their corresponding dummy argument are errors; but this needs
to be refined. Short actual arguments that are variables remain
errors, but those that are expressions can be (again) extended on
the right with blanks.

Diff Detail

Event Timeline

klausler created this revision.May 6 2022, 11:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 6 2022, 11:47 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 6 2022, 11:47 AM
jeanPerier accepted this revision.May 9 2022, 1:34 AM
This revision is now accepted and ready to land.May 9 2022, 1:34 AM