This is an archive of the discontinued LLVM Phabricator instance.

[flang] Address regression (calls to assumed-length character function dummy procedures)
ClosedPublic

Authored by klausler on May 25 2022, 9:28 AM.

Details

Summary

A recent fix beefed up semantics checking to catch the case of a call
to an external assumed-length character function; this check has false
positives in the case of an assumed-length character function that is
a dummy procedure. These do have a length that is passed in extra
compiler-created arguments. This patch refines the check and undoes some
changes to tests.

Diff Detail

Event Timeline

klausler created this revision.May 25 2022, 9:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 9:28 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 25 2022, 9:28 AM
vdonaldson added inline comments.May 25 2022, 10:30 AM
flang/test/Evaluate/rewrite01.f90
122

This line rings a bell as a fix up change needed to get fir-dev check-flang runs to pass.

vdonaldson accepted this revision.May 25 2022, 10:30 AM
This revision is now accepted and ready to land.May 25 2022, 10:30 AM