This is an archive of the discontinued LLVM Phabricator instance.

[flang] Avoid bogus errors with LBOUND/UBOUND(assumed rank array, DIM=)
ClosedPublic

Authored by klausler on Jul 17 2023, 10:21 AM.

Details

Summary

Don't emit bogus compile-time error messages about out-of-range values
for the DIM= argument to LBOUND/BOUND when the array in question is an
assumed-rank dummy array argument.

Diff Detail

Event Timeline

klausler created this revision.Jul 17 2023, 10:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2023, 10:21 AM
klausler requested review of this revision.Jul 17 2023, 10:21 AM
PeteSteinfeld accepted this revision.Jul 17 2023, 11:42 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Jul 17 2023, 11:42 AM
This revision was landed with ongoing or failed builds.Jul 17 2023, 12:45 PM
This revision was automatically updated to reflect the committed changes.