[Openmp-commits] [PATCH] D142684: [OpenMP] Fix stack overflow for test bug54082.c
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 26 19:20:16 PST 2023
tianshilei1992 created this revision.
tianshilei1992 added reviewers: jdoerfert, mstorsjo.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
tianshilei1992 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.
When `N` is 1024, `int result[N][N]` is obviously large stack that Windows cannot support...
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142684
Files:
openmp/runtime/test/parallel/bug54082.c
Index: openmp/runtime/test/parallel/bug54082.c
===================================================================
--- openmp/runtime/test/parallel/bug54082.c
+++ openmp/runtime/test/parallel/bug54082.c
@@ -6,7 +6,7 @@
#include <assert.h>
#include <stdlib.h>
-#define N 1024
+#define N 128
int main(int argc, char *argv[]) {
int errors = 0;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142684.492632.patch
Type: text/x-patch
Size: 351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230127/c23be608/attachment.bin>
More information about the Openmp-commits
mailing list