This is an archive of the discontinued LLVM Phabricator instance.

[flang] Enforce restrictions on intrinsic assignment
ClosedPublic

Authored by klausler on Nov 30 2022, 3:02 PM.

Details

Summary

When the left-hand side of an intrinsic assignment statement is
polymorphic, the LHS must be a whole allocatable variable or
component and may not be a coarray (10.2.2.1p1(1)).

Diff Detail

Event Timeline

klausler created this revision.Nov 30 2022, 3:02 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Nov 30 2022, 3:02 PM

The discrepancy in the results of the call28 test in the CI builds will clear up after a rebase when another patch is merged.

vdonaldson accepted this revision.Nov 30 2022, 4:32 PM
This revision is now accepted and ready to land.Nov 30 2022, 4:32 PM
This revision was landed with ongoing or failed builds.Dec 2 2022, 3:23 PM
This revision was automatically updated to reflect the committed changes.