[flang-commits] [flang] [flang] Add new warnings for unused & undefined locals (PR #173504)

via flang-commits flang-commits at lists.llvm.org
Wed Dec 24 10:57:05 PST 2025


github-actions[bot] wrote:

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

* 3822 tests passed
* 244 tests skipped
* 1 test failed

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

### Flang
<details>
<summary>Flang.Semantics/unused.f90</summary>

```
Exit Code: 127

Command Output (stdout):
--
# RUN: at line 1
C:\_work\llvm-project\llvm-project\flang\test\Semantics/test_errors.py C:\_work\llvm-project\llvm-project\flang\test\Semantics\unused.f90 c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -Werror -Wunused-variable -Wused-undefined-variable
# executed command: 'C:\_work\llvm-project\llvm-project\flang\test\Semantics/test_errors.py' 'C:\_work\llvm-project\llvm-project\flang\test\Semantics\unused.f90' 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 -Werror -Wunused-variable -Wused-undefined-variable
# .---command stderr------------
# | Could not create process (c:\_work\llvm-project\llvm-project\flang\test\semantics\test_errors.py) due to [WinError 193] %1 is not a valid Win32 application
# `-----------------------------
# error: command failed with exit status: 127

--

```
</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/173504


More information about the flang-commits mailing list