[PATCH] D137204: [flang] Add check for constraints on event-stmts

Pete Steinfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 12:49:33 PDT 2023


PeteSteinfeld added a comment.

@ktras, this change is causing some of our internal tests to fail.  Here's a small test case that illustrates the problem.  This test should compile without error, but it gets a semantic error saying:

  bug.f90:4:17: error: The event-variable must be a coarray
        event post (x[1])

Here's the source of the test:

  subroutine bug
    use iso_fortran_env
    type(event_type), save :: x[*]
      event post (x[1])
  end 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137204



More information about the llvm-commits mailing list