[PATCH] D120099: [flang] add semantics tests for sync team
Katherine Rasmussen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 24 11:31:14 PST 2022
ktras accepted this revision.
ktras added a comment.
This revision is now accepted and ready to land.
LGTM. The only note is that, similar to D114181 <https://reviews.llvm.org/D114181>, D118933 <https://reviews.llvm.org/D118933>, D120097 <https://reviews.llvm.org/D120097>, this test should pass if you take away the XFAIL directive and have all the proper error messages, but flang doesn't currently enforce some of the syntax and constraints stated in the standard:
- `C1114` - A `team-value` shall be of type `TEAM_TYPE` from the intrinsic module `ISO_FORTRAN_ENV` (an integer does not currently create an error)
- `stat-variable` must an integer scalar (both a logical and an integer array do not create errors currently)
- `errmsg-variable` must be a scalar-default-char-variable (a logical does not currently create an error)
- `C1172` - that no specifier shall appear more than once in a given `sync-stat-list`
- `C1173` - that a `stat-variable` or `errmsg-variable` in a `sync-stat` shall not be a `coindexed object`
It seems appropriate to open up an issue on the github repository pointing this out after this commit is pushed, and referencing this test in the issue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120099/new/
https://reviews.llvm.org/D120099
More information about the llvm-commits
mailing list