This is an archive of the discontinued LLVM Phabricator instance.

flang] Accept SIZE(assumed-rank, DIM=n)
ClosedPublic

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

Details

Summary

[Silence a bogus error message about an out-of-range DIM= argument
when the argument is assumed-rank. (More generally, don't pretend
to be able to discern a shape of known rank for an assumed-rank
object.)

Diff Detail

Event Timeline

klausler created this revision.Sep 16 2021, 1:11 PM
klausler requested review of this revision.Sep 16 2021, 1:11 PM
PeteSteinfeld accepted this revision.Sep 16 2021, 2:44 PM
PeteSteinfeld added a subscriber: PeteSteinfeld.

Looks great!

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