Skip to content

Commit 1639161

Browse files
shiltiantru
authored andcommitted
[OpenMP] Fix stack overflow for test bug54082.c
When `N` is 1024, `int result[N][N]` is obviously large stack that Windows cannot support... Fix #60326. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D142684 (cherry picked from commit 544f8c7)
1 parent 069b294 commit 1639161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/runtime/test/parallel/bug54082.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <assert.h>
77
#include <stdlib.h>
88

9-
#define N 1024
9+
#define N 128
1010

1111
int main(int argc, char *argv[]) {
1212
int errors = 0;

0 commit comments

Comments
 (0)