[OpenMP] Fixed Bug 49356
authorShilei Tian <tianshilei1992@gmail.com>
Mon, 17 May 2021 16:14:34 +0000 (12:14 -0400)
committerShilei Tian <tianshilei1992@gmail.com>
Mon, 17 May 2021 16:14:54 +0000 (12:14 -0400)
commitaf6511d730f18beb9053c0120c45abef031344e9
treec7c7952b0d18ae322e15539dd85bc2d1c19602a6
parentfded6f77c357447b06b952f56c83d2a5487c5adf
[OpenMP] Fixed Bug 49356

Bug 49356 (https://bugs.llvm.org/show_bug.cgi?id=49356) reports crash in
the test case `tasking/bug_taskwait_detach.cpp`, which is caused by the wrong
function declaration. `gtid` in `__kmpc_omp_task` should be `kmp_int32`.

Reviewed By: AndreyChurbanov

Differential Revision: https://reviews.llvm.org/D102584
openmp/runtime/test/tasking/bug_taskwait_detach.cpp