[flang-commits] [flang] [Flang][OpenMP] Reject substring and section-component in affinity (PR #184424)

via flang-commits flang-commits at lists.llvm.org
Wed Mar 4 19:10:01 PST 2026


github-actions[bot] wrote:

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

* 4003 tests passed
* 245 tests skipped
* 1 test failed

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

### Flang
<details>
<summary>Flang.Semantics/OpenMP/affinity-invalid.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
"C:\Python312\python.exe" C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP/../test_errors.py C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\affinity-invalid.f90 c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fopenmp -fopenmp-version=52
# executed command: 'C:\Python312\python.exe' 'C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP/../test_errors.py' 'C:\_work\llvm-project\llvm-project\flang\test\Semantics\OpenMP\affinity-invalid.f90' 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fopenmp -fopenmp-version=52
# .---command stdout------------
# | warning: OpenMP support for version 52 in flang is still incomplete
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: C:\\_work\\llvm-project\\llvm-project\\build\\bin\\flang -fc1 -triple x86_64-pc-windows-msvc19.44.35223 -fsyntax-only -mrelocation-model pic -pic-level 2 -target-cpu x86-64 --dependent-lib=clang_rt.builtins.lib -D_MT --dependent-lib=libcmt --dependent-lib=flang_rt.runtime.static.lib -D_MSC_VER=1944 -D_MSC_FULL_VER=194435223 -D_WIN32 -D_M_X64=100 -fopenmp -fopenmp-version=52 -resource-dir C:\\_work\\llvm-project\\llvm-project\\build\\lib\\clang\\23 -mframe-pointer=none -x f95 C:\\_work\\llvm-project\\llvm-project\\flang\\test\\Semantics\\OpenMP\\affinity-invalid.f90
# | Exception Code: 0xC0000094
# |  #0 0x00007ff646ae5f13 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x42e5f13)
# |  #1 0x00007ff646af647f (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x42f647f)
# |  #2 0x00007ff6446238ef (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e238ef)
# |  #3 0x00007ff6446233e2 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e233e2)
# |  #4 0x00007ff644628d21 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e28d21)
# |  #5 0x00007ff644628201 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e28201)
# |  #6 0x00007ff6446270f9 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e270f9)
# |  #7 0x00007ff644621fe8 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e21fe8)
# |  #8 0x00007ff6445f5679 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1df5679)
# |  #9 0x00007ff64464f976 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e4f976)
# | #10 0x00007ff6446dfb17 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1edfb17)
# | #11 0x00007ff64464eb8d (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x1e4eb8d)
# | #12 0x00007ff642a45143 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x245143)
# | #13 0x00007ff642a5f627 (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x25f627)
# | #14 0x00007ff64280535c (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x535c)
# | #15 0x00007ff6428026ae (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x26ae)
# | #16 0x00007ff649e982e0 mlir::detail::FallbackTypeIDResolver::registerImplicitTypeID(class llvm::StringRef) (C:\_work\llvm-project\llvm-project\build\bin\flang.exe+0x76982e0)
# | #17 0x00007ffdaa824cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #18 0x00007ffdb493edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# | flang: error: flang frontend command failed due to signal (use -v to see invocation)
# | flang version 23.0.0git (https://github.com/llvm/llvm-project 25c58db41d65ccd10f4dc76e9d7354d971bf9473)
# | Target: x86_64-pc-windows-msvc
# | Thread model: posix
# | InstalledDir: C:\_work\llvm-project\llvm-project\build\bin
# | Build config: +assertions
# | flang: note: diagnostic msg: 
# | ********************
# | 
# | PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
# | Preprocessed source(s) and associated run script(s) are located at:
# | flang: note: diagnostic msg: C:\Users\ContainerAdministrator\AppData\Local\Temp\lit-tmp-f995heb3\affinity-invalid-e3c4ba
# | flang: note: diagnostic msg: C:\Users\ContainerAdministrator\AppData\Local\Temp\lit-tmp-f995heb3\affinity-invalid-e3c4ba.sh
# | flang: note: diagnostic msg: 
# | 
# | ********************
# | 
# `-----------------------------
# 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/184424


More information about the flang-commits mailing list