[flang-commits] [flang] [Flang][MIF] Allocation of NON-ALLOCATABLE SAVE coarray (PR #205847)

via flang-commits flang-commits at lists.llvm.org
Fri Jun 26 08:25:31 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 4396 tests passed
* 250 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### Flang
<details>
<summary>Flang.Lower/MIF/coarray_allocation4.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc -emit-hlfir -fcoarray C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90 -o - 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 '-fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc' -emit-hlfir -fcoarray 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc -emit-llvm -fcoarray C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90 -o - 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90 --check-prefix=LLVM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 '-fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc' -emit-llvm -fcoarray 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90' --check-prefix=LLVM
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90:4:9: error: LLVM: expected string not found in input
# | ! LLVM: llvm.global_ctors = appending global [2 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @__mif_initialization, ptr null }, { i32, ptr, ptr } { i32 1, ptr @__mif_save_coarrays_allocate, ptr null }]
# |         ^
# | <stdin>:1:1: note: scanning from here
# | warning: Support for multi image Fortran features is still experimental and in development.
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation4.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: warning: Support for multi image Fortran features is still experimental and in development. 
# | check:4'0    {                                                                                              search range start (exclusive)
# | check:4'1                                                                                                   error: no match found in search range
# |            2: ; ModuleID = 'FIRModule' 
# |            3: source_filename = "FIRModule" 
# |            4: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# |            5: target triple = "x86_64-pc-windows-msvc" 
# |            6:  
# |            .
# |            .
# |            .
# |          165: !llvm.ident = !{!0} 
# |          166: !llvm.module.flags = !{!1, !2} 
# |          167:  
# |          168: !0 = !{!"flang version 23.0.0 (https://github.com/llvm/llvm-project aa1af01ce4e97ba249ff7e9ca5f020bde2188802)"} 
# |          169: !1 = !{i32 2, !"Debug Info Version", i32 3} 
# |          170: !2 = !{i32 2, !"CodeView", i32 1} 
# | check:4'2                                       } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Flang.Lower/MIF/coarray_allocation5.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc -emit-hlfir -fcoarray C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90 -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 '-fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc' -emit-hlfir -fcoarray 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90' -o -
# .---command stderr------------
# | warning: Support for multi image Fortran features is still experimental and in development.
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc -emit-llvm -fcoarray C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90 -o - 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90 --check-prefix=LLVM
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 '-fintrinsic-modules-path=C:\_work\llvm-project\llvm-project\build\lib\clang\23\finclude\flang\x86_64-pc-windows-msvc' -emit-llvm -fcoarray 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90' --check-prefix=LLVM
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90:13:9: error: LLVM: expected string not found in input
# | ! LLVM: llvm.global_ctors = appending global [2 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 0, ptr @__mif_initialization, ptr null }, { i32, ptr, ptr } { i32 1, ptr @__mif_save_coarrays_allocate, ptr null }]
# |         ^
# | <stdin>:1:1: note: scanning from here
# | warning: Support for multi image Fortran features is still experimental and in development.
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\flang\test\Lower\MIF\coarray_allocation5.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: warning: Support for multi image Fortran features is still experimental and in development. 
# | check:13'0    {                                                                                              search range start (exclusive)
# | check:13'1                                                                                                   error: no match found in search range
# |             2: ; ModuleID = 'FIRModule' 
# |             3: source_filename = "FIRModule" 
# |             4: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# |             5: target triple = "x86_64-pc-windows-msvc" 
# |             6:  
# |             .
# |             .
# |             .
# |           108: !llvm.ident = !{!0} 
# |           109: !llvm.module.flags = !{!1, !2} 
# |           110:  
# |           111: !0 = !{!"flang version 23.0.0 (https://github.com/llvm/llvm-project aa1af01ce4e97ba249ff7e9ca5f020bde2188802)"} 
# |           112: !1 = !{i32 2, !"Debug Info Version", i32 3} 
# |           113: !2 = !{i32 2, !"CodeView", i32 1} 
# | check:13'2                                       } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/205847


More information about the flang-commits mailing list