This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix crash from PDT component init in module file
ClosedPublic

Authored by klausler on Apr 26 2022, 10:18 AM.

Details

Summary

Semantics now needs to preserve the parse trees from module files,
in case they contain parameterized derived type definitions with
component initializers that may require re-analysis during PDT
instantiation. Save them in the SemanticsContext.

Diff Detail

Event Timeline

klausler created this revision.Apr 26 2022, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2022, 10:18 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Apr 26 2022, 10:18 AM
This revision is now accepted and ready to land.Apr 26 2022, 10:21 AM
This revision was landed with ongoing or failed builds.Apr 26 2022, 10:49 AM
This revision was automatically updated to reflect the committed changes.