This is an archive of the discontinued LLVM Phabricator instance.

[flang] Check constraint C834 on INTENT(OUT) assumed-size dummy arrays
ClosedPublic

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

Details

Summary

An assumed-size dummy array argument with INTENT(OUT) can't have a type
that might require any runtime (re)initialization, since the size of the
array is not known.

Diff Detail

Event Timeline

klausler created this revision.Dec 1 2022, 2:55 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 1 2022, 2:55 PM
This revision is now accepted and ready to land.Dec 1 2022, 11:12 PM