This is an archive of the discontinued LLVM Phabricator instance.

[flang] Prevent crash in error case: elemental with alternate return
ClosedPublic

Authored by klausler on Dec 15 2022, 11:40 AM.

Details

Summary

When an ELEMENTAL subroutine is erroneously declared with alternate return
arguments, don't crash when checking the ranks of the actual arguments.

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2022, 11:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 11:40 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 15 2022, 11:40 AM
vdonaldson accepted this revision.Dec 15 2022, 1:01 PM
This revision is now accepted and ready to land.Dec 15 2022, 1:01 PM