This is an archive of the discontinued LLVM Phabricator instance.

[flang] Intrinsic assignment of distinct but "same" derived types
ClosedPublic

Authored by klausler on Jan 18 2022, 3:45 PM.

Details

Summary

Subclause 7.5.2.4 lists conditions under which two distinct derived
types are to be considered the same type for purposes of argument
association, assignment, and so on. These conditions are implemented
in evaluate::IsTkCompatibleWith(), but assignment semantics doesn't
use it for testing for intrinsic assignment compatibility. Fix that.

Diff Detail

Event Timeline

klausler created this revision.Jan 18 2022, 3:45 PM
klausler requested review of this revision.Jan 18 2022, 3:45 PM
PeteSteinfeld accepted this revision.Jan 18 2022, 6:52 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 18 2022, 6:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2022, 10:08 AM