This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow forward reference to ENTRY from generic interface
ClosedPublic

Authored by klausler on May 25 2022, 4:48 PM.

Details

Summary

The CreateEntry() function in name resolution needs to allow for the name
of an alternate entry point already having been declared in the outer scope
as the homonymous specific procedure of a generic interface; e.g.,

interface foo
  module procedure foo
end interface
subroutine bar
  entry foo
end subroutine

Diff Detail

Event Timeline

klausler created this revision.May 25 2022, 4:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 4:48 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 25 2022, 4:48 PM
vdonaldson accepted this revision.May 25 2022, 4:52 PM
This revision is now accepted and ready to land.May 25 2022, 4:52 PM