[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:01 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 4220 tests passed
* 203 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
"/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenMP/../test_errors.py /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenMP/deprecation.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fopenmp -Werror -fopenmp-version=52
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenMP/../test_errors.py /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Semantics/OpenMP/deprecation.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -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