[flang-commits] [flang] [Flang] Fix -Wopen-mp-* and -Wopen-acc-* flag spellings (PR #188434)

via flang-commits flang-commits at lists.llvm.org
Tue Apr 28 05:51:00 PDT 2026


github-actions[bot] wrote:

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

* 4177 tests passed
* 246 tests skipped
* 1 test failed

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

### Flang
<details>
<summary>Flang.Semantics/OpenMP/deprecation.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\deprecation.f90 c:\_work\llvm-project\llvm-project\build\bin\flang.exe -fc1 -fopenmp -Werror -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\deprecation.f90' 'c:\_work\llvm-project\llvm-project\build\bin\flang.exe' -fc1 -fopenmp -Werror -fopenmp-version=52
# .---command stdout------------
# | --- 
# | +++ 
# | @@ -1,6 +1,6 @@
# | 
# | actual at 8: OpenMP directive MASTER has been deprecated, please use MASKED instead [-Wopenmp-usage]
# | actual at 16: OpenMP directive PARALLEL MASTER has been deprecated, please use PARALLEL MASKED instead [-Wopenmp-usage]
# | actual at 24: OpenMP directive MASTER TASKLOOP SIMD has been deprecated, please use MASKED TASKLOOP SIMD instead [-Wopenmp-usage]
# | actual at 34: OpenMP directive MASTER TASKLOOP has been deprecated, please use MASKED TASKLOOP instead [-Wopenmp-usage]
# | actual at 44: OpenMP directive PARALLEL MASTER TASKLOOP SIMD has been deprecated, please use PARALLEL MASKED TASKLOOP SIMD instead [-Wopenmp-usage]
# | actual at 54: OpenMP directive PARALLEL MASTER TASKLOOP has been deprecated, please use PARALLEL MASKED TASKLOOP instead [-Wopenmp-usage]
# | expect at 8: OpenMP directive MASTER has been deprecated, please use MASKED instead. [-Wopenmp-usage]
# | expect at 16: OpenMP directive PARALLEL MASTER has been deprecated, please use PARALLEL MASKED instead. [-Wopenmp-usage]
# | expect at 24: OpenMP directive MASTER TASKLOOP SIMD has been deprecated, please use MASKED TASKLOOP SIMD instead. [-Wopenmp-usage]
# | expect at 34: OpenMP directive MASTER TASKLOOP has been deprecated, please use MASKED TASKLOOP instead. [-Wopenmp-usage]
# | expect at 44: OpenMP directive PARALLEL MASTER TASKLOOP SIMD has been deprecated, please use PARALLEL_MASKED TASKLOOP SIMD instead. [-Wopenmp-usage]
# | expect at 54: OpenMP directive PARALLEL MASTER TASKLOOP has been deprecated, please use PARALLEL MASKED TASKLOOP instead. [-Wopenmp-usage]
# | 
# | FAIL
# `-----------------------------
# 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/188434


More information about the flang-commits mailing list