This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add check for constraints on sync-stat-lists and other constraints in sync-images-stmt, and event statements
AbandonedPublic

Authored by ktras on Aug 31 2022, 4:39 PM.

Details

Summary

In the CoarrayChecker, add checks for the constraints C1172 and
C1173, which constrain sync-stat-list. There are sync-stat-lists
in critical-stmt, sync-all-stmt, sync-images-stmt,
sync-memory-stmt, sync-team-stmt, event-post-stmt, unlock-stmt,
change-team-stmt, and end-change-team-stmt. Also add a check for
the constraint C1174 in sync-images-stmt, for the type of the
event-variable in event-post-stmt and event-wait-stmt, and check
the constraints C1177 and C1178 in event-wait-stmt. Update
semantics tests for these stmts.

Diff Detail

Event Timeline

ktras created this revision.Aug 31 2022, 4:39 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
ktras requested review of this revision.Aug 31 2022, 4:39 PM
ktras retitled this revision from [flang] Add check for constraints on `sync-stat-lists` and other constraints in `sync-images-stmt`, and event statements to [flang] Add check for constraints on sync-stat-lists and other constraints in sync-images-stmt, and event statements.Aug 31 2022, 4:46 PM
ktras abandoned this revision.Oct 17 2022, 12:51 PM

I am abandoning this revision in favor of a new revision which a smaller section of these changes.