This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow pointers to non-sequence types in sequence types
ClosedPublic

Authored by klausler on Jan 12 2022, 2:15 PM.

Details

Summary

Derived types with SEQUENCE must have data components of sequence
types; but this rule is relaxed as common an extension in the case of
pointer components, whose targets' types are not really relevant
to the implementation requirements of sequence types.

Diff Detail

Event Timeline

klausler created this revision.Jan 12 2022, 2:15 PM
klausler requested review of this revision.Jan 12 2022, 2:15 PM
klausler updated this revision to Diff 399844.Jan 13 2022, 5:10 PM

Rebase (fixing build issue).

PeteSteinfeld accepted this revision.Jan 13 2022, 8:59 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 13 2022, 8:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2022, 10:50 AM