This is an archive of the discontinued LLVM Phabricator instance.

[flang] More error checking for ASSOCIATED()
ClosedPublic

Authored by klausler on Dec 1 2022, 2:21 PM.

Details

Summary

The TARGET= argument of the ASSOCIATED() intrinsic function must be a valid
pointer assignment statement target. Ensure that it does not contain a vector
subscript or any coindexing, either of which would imply a data copy into
temporary storage.

Diff Detail

Event Timeline

klausler created this revision.Dec 1 2022, 2:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2022, 2:21 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 1 2022, 2:21 PM
This revision is now accepted and ready to land.Dec 1 2022, 11:12 PM
This revision was automatically updated to reflect the committed changes.