This is an archive of the discontinued LLVM Phabricator instance.

[flang] Generate type info symbols outside of derived type scopes
ClosedPublic

Authored by jeanPerier on Jun 3 2021, 8:31 AM.

Details

Summary

A recent change was made in https://reviews.llvm.org/D101482 to cope
with kind parameters. It had the side effect of generating some type
info symbols inside derived type scopes. Derived type scope symbols
are meant for components, and other/later compilation phases might
choke when finding compiler generated symbols there that are not
components.

This patch preserves the fix from D101482 while still generating the
symbols outside of derived type scopes.

Diff Detail

Event Timeline

jeanPerier created this revision.Jun 3 2021, 8:31 AM
jeanPerier requested review of this revision.Jun 3 2021, 8:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 3 2021, 8:31 AM
PeteSteinfeld accepted this revision.Jun 3 2021, 9:01 AM

All builds, tests, and looks good.

Thanks for cleaning up after me!

This revision is now accepted and ready to land.Jun 3 2021, 9:01 AM

LGTM and thanks for correcting this problem.