This is an archive of the discontinued LLVM Phabricator instance.

[flang] Specific procedures named the same as the generic and a derived type
ClosedPublic

Authored by PeteSteinfeld on Mar 22 2021, 9:05 AM.

Details

Summary

If you specify a specific procedure of a generic interface that has the same
name as both the generic interface and a preceding derived type, the compiler
would fail an internal call to CHECK(). I fixed this by testing for this
situation when processing specific procedures. I also added a test that will
cause the call to CHECK() to fail without this new code.

Diff Detail

Event Timeline

PeteSteinfeld requested review of this revision.Mar 22 2021, 9:05 AM
PeteSteinfeld created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2021, 9:05 AM
PeteSteinfeld added a project: Restricted Project.Mar 22 2021, 9:07 AM
klausler accepted this revision.Mar 22 2021, 9:23 AM
This revision is now accepted and ready to land.Mar 22 2021, 9:23 AM
This revision was landed with ongoing or failed builds.Mar 22 2021, 10:53 AM
This revision was automatically updated to reflect the committed changes.