This is an archive of the discontinued LLVM Phabricator instance.

[flang] Enforce limit on rank + corank
ClosedPublic

Authored by klausler on May 6 2022, 6:02 PM.

Details

Summary

Fortran 2018 requires that a compiler allow objects whose rank + corank
is 15, and that's our maximum; detect and diagnose violations.

Diff Detail

Event Timeline

klausler created this revision.May 6 2022, 6:02 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.May 6 2022, 6:02 PM
vdonaldson accepted this revision.May 6 2022, 6:08 PM
This revision is now accepted and ready to land.May 6 2022, 6:08 PM
This revision was automatically updated to reflect the committed changes.