This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add semantic check for multiple part-ref with nonzero rank for TBP
ClosedPublic

Authored by peixin on Jun 12 2022, 8:25 AM.

Details

Summary

As Fortran 2018 C919, there shall not be more than one part-ref with
nonzero rank. Support this semantic check for type-bound procedure to
address the issue https://github.com/llvm/llvm-project/issues/55811.

Diff Detail

Event Timeline

peixin created this revision.Jun 12 2022, 8:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2022, 8:25 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
peixin requested review of this revision.Jun 12 2022, 8:25 AM
peixin updated this revision to Diff 436389.Jun 13 2022, 7:45 AM

Merge two If conditions.

klausler accepted this revision.Jun 13 2022, 9:04 AM
This revision is now accepted and ready to land.Jun 13 2022, 9:04 AM