This is an archive of the discontinued LLVM Phabricator instance.

[flang] Validate SIZE(x,DIM=n) dimension for assumed-size array x
ClosedPublic

Authored by klausler on Sep 16 2021, 1:21 PM.

Details

Summary

Catch invalid attempts to extract the unknowable extent of the last
dimension of an assumed-size array dummy argument, and clean up
problems with assumed-rank arguments in similar circumstances
exposed by testing the fix.

Diff Detail

Event Timeline

klausler created this revision.Sep 16 2021, 1:21 PM
klausler requested review of this revision.Sep 16 2021, 1:21 PM
PeteSteinfeld accepted this revision.Sep 16 2021, 2:48 PM

Looks great!

This revision is now accepted and ready to land.Sep 16 2021, 2:48 PM
This revision was landed with ongoing or failed builds.Sep 17 2021, 10:37 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptSep 17 2021, 10:37 AM