This is an archive of the discontinued LLVM Phabricator instance.

[flang] INTENT(IN) pointer may not be forwarded to INTENT(IN OUT) or (OUT) dummy
ClosedPublic

Authored by klausler on Dec 1 2022, 1:04 PM.

Details

Summary

19.6.8 forbids using an INTENT(IN) pointer dummy argument in a pointer association
context, and associated such a pointer with a dummy argument of INTENT(IN OUT) or
INTENT(OUT) is a circumstance that needs to be caught as an error.

Diff Detail

Event Timeline

klausler created this revision.Dec 1 2022, 1:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2022, 1:04 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 1 2022, 1:04 PM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 3 2022, 4:28 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.