This is an archive of the discontinued LLVM Phabricator instance.

[flang] Ignore FINAL subroutines with mismatching type parameters
ClosedPublic

Authored by klausler on Mar 9 2023, 4:27 PM.

Details

Summary

When a parameterized derived type has FINAL subroutines, only
those FINAL subroutines whose dummy argument's type matches the
type parameter values of a particular instantiation are relevant
to that instantiation.

Diff Detail

Event Timeline

klausler created this revision.Mar 9 2023, 4:27 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Mar 9 2023, 4:27 PM
PeteSteinfeld accepted this revision.Mar 10 2023, 6:22 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 10 2023, 6:22 AM