This is an archive of the discontinued LLVM Phabricator instance.

[flang] Refine pointer/target test for ASSOCIATED intrinsic
ClosedPublic

Authored by klausler on Feb 10 2022, 8:51 AM.

Details

Summary

The second argument to the ASSOCIATED intrinsic must be a valid pointer
or target. The test for this property only checked the last symbol
in a data-reference, but any symbol in the reference with the
POINTER or TARGET attribute will do.

Diff Detail

Event Timeline

klausler created this revision.Feb 10 2022, 8:51 AM
klausler requested review of this revision.Feb 10 2022, 8:51 AM
klausler edited the summary of this revision. (Show Details)Feb 10 2022, 8:56 AM
PeteSteinfeld accepted this revision.Feb 10 2022, 10:17 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Feb 10 2022, 10:17 AM
This revision was landed with ongoing or failed builds.Feb 10 2022, 11:32 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2022, 11:32 AM