Skip to content

Commit

Permalink
[OpenMP] Add missing bit with the Hurd support (#70609)
Browse files Browse the repository at this point in the history
Looking at 855d098 it looks like a bit was
missing. The padding variable is used further down by the KMP_ALLOCA()
function.
  • Loading branch information
brad0 committed Oct 30, 2023
1 parent dbeaee6 commit 0a29879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/runtime/src/z_Linux_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ static void *__kmp_launch_worker(void *thr) {
#endif /* KMP_BLOCK_SIGNALS */

#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \
KMP_OS_OPENBSD
KMP_OS_OPENBSD || KMP_OS_HURD
if (__kmp_stkoffset > 0 && gtid > 0) {
padding = KMP_ALLOCA(gtid * __kmp_stkoffset);
(void)padding;
Expand Down

0 comments on commit 0a29879

Please sign in to comment.