This is an archive of the discontinued LLVM Phabricator instance.

[flang] Catch procedure pointer interface error
ClosedPublic

Authored by klausler on Jun 2 2021, 5:12 PM.

Details

Summary

A procedure pointer is allowed to name a specific intrinsic function
from F'2018 table 16.2 as its interface, but not other intrinsic
procedures. Catch this error, and thereby also fix a crash resulting
from a failure later in compilation from failed characteristics;
while here, also catch the similar error with initializers.

Diff Detail

Event Timeline

klausler created this revision.Jun 2 2021, 5:12 PM
klausler requested review of this revision.Jun 2 2021, 5:12 PM
PeteSteinfeld accepted this revision.Jun 2 2021, 7:45 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jun 2 2021, 7:45 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2021, 2:03 PM