[flang-commits] [flang] [Flang][OpenMP] Enables parsing of threadset clause (PR #169856)

via flang-commits flang-commits at lists.llvm.org
Thu Nov 27 13:51:32 PST 2025


github-actions[bot] wrote:

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

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

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

### Flang
<details>
<summary>Flang.Parser/OpenMP/threadset-clause.f90</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fdebug-unparse -fopenmp -fopenmp-version=60 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/threadset-clause.f90 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --ignore-case --check-prefix="UNPARSE" /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/threadset-clause.f90
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -fc1 -fdebug-unparse -fopenmp -fopenmp-version=60 /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/threadset-clause.f90
# .---command stderr------------
# | warning: OpenMP support for version 60 in flang is still incomplete
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --ignore-case --check-prefix=UNPARSE /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/threadset-clause.f90
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/threadset-clause.f90:71:11: error: UNPARSE: expected string not found in input
# | !UNPARSE: !$OMP TASKLOOP THREADSET(OMP_POOL)
# |           ^
# | <stdin>:21:11: note: scanning from here
# |  INTEGER i
# |           ^
# | <stdin>:22:1: note: possible intended match here
# | !$OMP TASKLOOP THREADSET(OMP_TEAM)
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Parser/OpenMP/threadset-clause.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            16:  DO i=1_4,10_4 
# |            17:  END DO 
# |            18: !$OMP END TASKLOOP 
# |            19: END SUBROUTINE 
# |            20: SUBROUTINE f003 (x) 
# |            21:  INTEGER i 
# | check:71'0               X error: no match found
# |            22: !$OMP TASKLOOP THREADSET(OMP_TEAM) 
# | check:71'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:71'1     ?                                   possible intended match
# |            23:  DO i=1_4,10_4 
# | check:71'0     ~~~~~~~~~~~~~~~
# |            24:  END DO 
# | check:71'0     ~~~~~~~~
# |            25: !$OMP END TASKLOOP 
# | check:71'0     ~~~~~~~~~~~~~~~~~~~
# |            26: END SUBROUTINE 
# | check:71'0     ~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# 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/169856


More information about the flang-commits mailing list