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

Pete Steinfeld via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri May 19 11:16:45 PDT 2023


PeteSteinfeld requested changes to this revision.
PeteSteinfeld added a comment.
This revision now requires changes to proceed.

Thanks for working on this, but this code doesn't work for arrays of coarrays.  Here's a test case that shows the problem:

  Program bug
    Use Iso_Fortran_Env
    Implicit None
    Integer i
    Type(event_type) :: ev(2)[*]
    If (This_Image()==Num_Images()) Then
      Do i=1,Size(ev)
        Event Post (ev(i)[1])
      End Do
    End If
  End Program


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150834/new/

https://reviews.llvm.org/D150834



More information about the flang-commits mailing list