This is an archive of the discontinued LLVM Phabricator instance.

[flang] Accept defined assignment with CLASS(*) RHS
ClosedPublic

Authored by klausler on May 21 2022, 10:16 PM.

Details

Summary

A utility predicate in semantics was incorrectly determining that
an INTERFACE ASSIGNMENT(=) (or other form of generic) could not have
a specific procedure with an unlimited polymorphic second argument.
This led to a crash later in expression analysis. Fix, and
extend tests.

Diff Detail

Event Timeline

klausler created this revision.May 21 2022, 10:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 21 2022, 10:16 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 21 2022, 10:16 PM
vdonaldson accepted this revision.May 23 2022, 10:35 AM
This revision is now accepted and ready to land.May 23 2022, 10:35 AM
This revision was automatically updated to reflect the committed changes.