[flang-commits] [flang] [flang][OpenMP] Canonicalize loops with intervening OpenMP constructs (PR #169191)

LLVM Continuous Integration via flang-commits flang-commits at lists.llvm.org
Sat Nov 22 14:59:44 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-x86_64-windows` running on `minipc-ryzen-win` while building `flang` at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/166/builds/4172

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (build-unified-tree) failure: build (failure)
...
2.364 [158/6/3] Linking CXX executable bin\llvm-config.exe
8.801 [157/6/4] Building CXX object lib\Object\CMakeFiles\LLVMObject.dir\IRSymtab.cpp.obj
8.967 [156/6/5] Linking CXX static library lib\LLVMObject.lib
9.793 [155/6/6] Linking CXX executable bin\llvm-ar.exe
9.876 [154/6/7] Generating ../../bin/llvm-ranlib.exe
9.969 [153/6/8] Generating ../../bin/llvm-lib.exe
10.958 [152/6/9] Linking CXX executable bin\llvm-nm.exe
12.049 [151/6/10] Linking CXX executable bin\llvm-objdump.exe
12.926 [150/6/11] Linking CXX executable bin\llvm-rc.exe
12.953 [149/6/12] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\canonicalize-do.cpp.obj
FAILED: [code=2] tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/canonicalize-do.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DFLANG_INCLUDE_TESTS=1 -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\flang-x86_64-windows\build\tools\flang\lib\Semantics -IC:\buildbot\flang-x86_64-windows\llvm-project\flang\lib\Semantics -IC:\buildbot\flang-x86_64-windows\llvm-project\flang\include -IC:\buildbot\flang-x86_64-windows\build\tools\flang\include -IC:\buildbot\flang-x86_64-windows\build\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\include -external:IC:\buildbot\flang-x86_64-windows\llvm-project\flang\..\mlir\include -external:IC:\buildbot\flang-x86_64-windows\build\tools\mlir\include -external:IC:\buildbot\flang-x86_64-windows\build\tools\clang\include -external:IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\..\clang\include -external:W0 /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD  /EHs-c- /GR- -UNDEBUG /showIncludes /Fotools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\canonicalize-do.cpp.obj /Fdtools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\FortranSemantics.pdb /FS -c C:\buildbot\flang-x86_64-windows\llvm-project\flang\lib\Semantics\canonicalize-do.cpp
..\llvm-project\flang\lib\Semantics\canonicalize-do.cpp(114): error C2065: 'Unwrap': undeclared identifier
..\llvm-project\flang\lib\Semantics\canonicalize-do.cpp(114): error C2275: 'Fortran::parser::EndDoStmt': expected an expression instead of a type
13.697 [149/5/13] Linking CXX executable bin\llvm-objcopy.exe
27.225 [149/4/14] Building CXX object lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
28.830 [149/3/15] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTO.cpp.obj
127.422 [149/2/16] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-omp-loop.cpp.obj
296.703 [149/1/17] Building CXX object tools\flang\lib\Semantics\CMakeFiles\FortranSemantics.dir\check-omp-atomic.cpp.obj
ninja: build stopped: subcommand failed.
Cache directory:      C:\Users\buildbot-worker\AppData\Local\ccache
Config file:          C:\Users\buildbot-worker\AppData\Local\ccache\ccache.conf
System config file:   C:\ProgramData\ccache\ccache.conf
Stats updated:        11/22/25 14:59:36
Cacheable calls:          6 /   7 (85.71%)
  Hits:                   1 /   6 (16.67%)
    Direct:               1 /   1 (100.0%)
    Preprocessed:         0 /   1 ( 0.00%)
  Misses:                 5 /   6 (83.33%)
Uncacheable calls:        1 /   7 (14.29%)
  Compilation failed:     1 /   1 (100.0%)
Successful lookups:
  Direct:                 1 /   7 (14.29%)
  Preprocessed:           0 /   6 ( 0.00%)
Local storage:
  Cache size (GB):      5.0 / 5.0 (101.0%)
  Files:              19093
  Cleanups:               5
  Hits:                   1 /   6 (16.67%)
  Misses:                 5 /   6 (83.33%)
  Reads:                 14
  Writes:                10

```

</details>

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


More information about the flang-commits mailing list