This is an archive of the discontinued LLVM Phabricator instance.

[flang] Better error recovery when using erroneous procedures and pointers as intrinsic actual arguments
ClosedPublic

Authored by klausler on Aug 28 2023, 3:39 PM.

Details

Summary

Instead of crashing with an internal error when a procedure or
procedure pointer with a badly declared interface is presented to
an intrinsic procedure like ASSOCIATED, emit an error message
and continue with compilation.

Diff Detail

Event Timeline

klausler created this revision.Aug 28 2023, 3:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 3:39 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 28 2023, 3:39 PM
PeteSteinfeld accepted this revision.Aug 28 2023, 5:54 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Aug 28 2023, 5:54 PM