[clang] [OpenMP] Fix crash when diagnosing dist_schedule (PR #139277)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Fri May 9 08:32:41 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `clang` at step 7 "Add check check-clang".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/5055
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (Add check check-clang) failure: test (failure)
******************** TEST 'Clang :: OpenMP/teams_distribute_dist_schedule_messages.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include -nostdsysteminc -verify -fopenmp /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp -Wuninitialized # RUN: at line 1
+ /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/bin/clang -cc1 -internal-isystem /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/clang/21/include -nostdsysteminc -verify -fopenmp /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp -Wuninitialized
error: 'expected-error' diagnostics seen but not expected:
File /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp Line 111: cannot find start ('{{') of expected string
File /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp Line 111: argument to 'dist_schedule' clause must be a strictly positive integer value
2 errors generated.
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/139277
More information about the cfe-commits
mailing list