[flang-commits] [flang] [llvm] [flang][MIF] Update prif_coarray_handle in accordance with PRIF 0.8 #214080 (PR #214747)
Dan Bonachea via flang-commits
flang-commits at lists.llvm.org
Sat Aug 8 08:25:13 PDT 2026
bonachea wrote:
I've also reproduced #214818 with the penultimate commit of this PR, and manually confirmed the final commit 48df29823b05cfdc64daeeb13febca9522c51491 resolves it:
```
cgpu$ cat fir-global.f90
program p
integer, allocatable :: a[:]
allocate(a[*])
call inner
contains
subroutine inner
a = 1
end subroutine
end program p
cgpu$ flang-pr214747 --version
flang version 24.0.0git (git at github.com:SiPearl/llvm-project.git d97944a3621e5cd96cf6e133c896a3023c7e4cee)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: <redacted>/llvm/inst-fix-coarray-handle/bin
cgpu$ flang-pr214747 -fcoarray -c fir-global.f90
warning: Support for multi image Fortran features is still experimental and in development.
loc("<redacted>/fir-global.f90":2:27): error: 'fir.global' op region #0 ('region') failed to verify constraint: region with 1 blocks
error: Lowering to LLVM IR failed
loc("<redacted>/fir-global.f90":1:1): error: cannot be converted to LLVM IR: missing `LLVMTranslationDialectInterface` registration for dialect for op: func.func
error: failed to create the LLVM module
cgpu$ flang-pr214747-2 --version
flang version 24.0.0git (git at github.com:SiPearl/llvm-project.git 48df29823b05cfdc64daeeb13febca9522c51491)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: <redacted>/llvm/inst-fix-coarray-handle2/bin
cgpu$ flang-pr214747-2 -fcoarray -c fir-global.f90
warning: Support for multi image Fortran features is still experimental and in development.
cgpu$
```
Let's please proceed with merge ASAP.
https://github.com/llvm/llvm-project/pull/214747
More information about the flang-commits
mailing list