This is an archive of the discontinued LLVM Phabricator instance.

[flang] Map symbols in expressions when copying interface symbols
ClosedPublic

Authored by klausler on Dec 2 2022, 7:22 AM.

Details

Summary

Given a MODULE SUBROUTINE or MODULE FUNCTION interface followed
later by a corresponding separate module subprogram definition in a
MODULE PROCEDURE, the copies of the interface's dummy argument and
function result symbols that populate the initial scope of that
MODULE PROCEDURE need to have any symbol references in their types
or bounds adjusted to point to their new counterparts.

Diff Detail

Event Timeline

klausler created this revision.Dec 2 2022, 7:22 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 2 2022, 7:22 AM
vdonaldson accepted this revision.Dec 2 2022, 9:09 AM

Thanks for the fix!

This revision is now accepted and ready to land.Dec 2 2022, 9:09 AM
This revision was landed with ongoing or failed builds.Dec 5 2022, 7:34 AM
This revision was automatically updated to reflect the committed changes.