This is an archive of the discontinued LLVM Phabricator instance.

[flang] Catch error: COMMON block and implicit interface external subprogram with same name
ClosedPublic

Authored by klausler on Jun 26 2023, 10:03 AM.

Details

Summary

Declaration checking catches the error of a COMMON block and a subprogram
definition having the same name, but misses the case of a COMMON block
and an a reference to an external subprogram with an implicit interface.
Fix. Fixes bug https://github.com/llvm/llvm-project/issues/63247.

Diff Detail

Event Timeline

klausler created this revision.Jun 26 2023, 10:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 10:03 AM
klausler requested review of this revision.Jun 26 2023, 10:03 AM
PeteSteinfeld accepted this revision.Jun 26 2023, 10:59 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jun 26 2023, 10:59 AM