This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fixed Bug 49356
ClosedPublic

Authored by tianshilei1992 on May 16 2021, 12:45 PM.

Details

Summary

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.

Diff Detail

Event Timeline

tianshilei1992 requested review of this revision.May 16 2021, 12:45 PM
Herald added a project: Restricted Project. · View Herald Transcript
AndreyChurbanov accepted this revision.May 17 2021, 3:56 AM
AndreyChurbanov added a subscriber: AndreyChurbanov.

LGTM, with one nit: alias kmp_int64 is never used in the test now, so the declaration can be removed.

This revision is now accepted and ready to land.May 17 2021, 3:56 AM
This revision was automatically updated to reflect the committed changes.