[PATCH] D150834: [flang] Fix bug that disallows coindexed-object in event-post-stmt

Katherine Rasmussen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 18:29:23 PDT 2023

ktras created this revision.
ktras added reviewers: PeteSteinfeld, klausler, jeanPerier, kiranchandramohan, tskeith, rouson, sscalpone.
ktras added projects: Flang, LLVM.
Herald added subscribers: sunshaoce, jdoerfert, arphaman.
Herald added a project: All.
ktras requested review of this revision.

Fix bug in check for constraint `C1604`. The bug disallows the
`event-variable` in an `event-post-stmt` to be a `coindexed-object`, which
is allowed by the standard. Fix `event-post-stmt` and `event-wait-stmt`
tests so that the type of error that hides other errors are isolated
in one test, leaving one test with only standard conforming
statements. This change in testing makes it possible to check
that an `event-variable` in an `event-post-stmt` that is a
`coindexed-object` is now accepted by the compiler after this bugfix.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150834.523234.patch
Type: text/x-patch
Size: 11221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230518/4173cd35/attachment-0001.bin>

More information about the llvm-commits mailing list