This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix bug with generic and homonymous specific module procedure
ClosedPublic

Authored by klausler on Jun 21 2023, 3:48 PM.

Details

Summary

An unconditional EraseSymbol() call was deleting a generic interface symbol
when the generic had a module procedure of the same name as a specific
procedure, and the module procedure's definition appeared in the same
module. Also clean up some applications of the MODULE attribute to
symbols created along the way.

Diff Detail

Event Timeline

klausler created this revision.Jun 21 2023, 3:48 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Jun 21 2023, 3:48 PM
PeteSteinfeld accepted this revision.Jun 21 2023, 7:28 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jun 21 2023, 7:28 PM