[flang-commits] [flang] [flang][OpenMP] Fix crash when arrays used in LINEAR clause (PR #175383)

via flang-commits flang-commits at lists.llvm.org
Sat Jan 10 12:13:48 PST 2026


github-actions[bot] wrote:

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

* 3892 tests passed
* 201 tests skipped
* 1 test failed

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

### Flang
<details>
<summary>Flang.Semantics/OpenMP/linear-iter.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/linear-iter.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fopenmp
# 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/linear-iter.f90 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fopenmp
# .---command stdout------------
# | --- 
# | +++ 
# | @@ -2,0 +3 @@
# | 
# | expect at 37: List item 'b' in LINEAR clause must be a scalar variable@@ -4 +4,0 @@
# | 
# | actual at 37: List item 'b' in LINEAR clause must be a scalar variable@@ -5,0 +6 @@
# | 
# | expect at 50: List item 'b' in LINEAR clause must be a scalar variable@@ -7 +7,0 @@
# | 
# | actual at 50: List item 'b' in LINEAR clause must be a scalar variable
# | 
# | 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/175383


More information about the flang-commits mailing list