[flang-commits] [flang] [llvm] [flang][MIF] Adding lowering for EVENT POST/WAIT statements (PR #210283)
Jean-Didier PAILLEUX via flang-commits
flang-commits at lists.llvm.org
Fri Oct 16 01:20:09 PDT 2026
JDPailleux wrote:
> Reviewed [5bae69a](https://github.com/llvm/llvm-project/commit/5bae69ad94046090ac138e128c27c54a2426575a).
>
> Two pre-existing problems lie outside the scope of this PR but now also affect its code:
>
> * In a recursive procedure, every activation shares one `_coarray_handle` global for an allocatable local coarray. After a recursive call returns, DEALLOCATE in the caller uses the callee's handle, both before and after this PR. With this PR, EVENT POST in the caller uses it too.
> * A statement function called with an allocatable character actual argument copies bytes of the argument's descriptor instead of its characters, even without coarrays. Before the latest commits, `sf(c[1])` with `character(5), allocatable :: c[:]` printed the characters. It now prints descriptor bytes.
> Edit: Opened #232619.
Thanks, that's good to know, I'll take a look ;)!
Don't hesitate to ask if you need help or a review for your issue #232619.
https://github.com/llvm/llvm-project/pull/210283
More information about the flang-commits
mailing list