[flang-commits] [flang] [llvm] [llvm][flang] Silence warning, resume -Werror builds of flang (PR #175053)

Kewen Meng via flang-commits flang-commits at lists.llvm.org
Mon Jan 12 16:46:34 PST 2026


Kewen12 wrote:

It seems this PR breaks some bots. Appreciate if you could fix it!
```
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/flang/lib/Optimizer/Transforms/ArrayValueCopy.cpp:1265:27: error: unused variable ‘_’ [-Werror=unused-variable]
     auto [_, lhsLoadResult] = materializeAssignment(
                           ^
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-ctad-maybe-unsupported’ [-Werror]
cc1plus: error: unrecognized command line option ‘-Wno-deprecated-copy’ [-Werror]
```
bot: https://lab.llvm.org/buildbot/#/builders/140/builds/36914

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


More information about the flang-commits mailing list