Skip to content

Commit

Permalink
[OpenMP] Fix stack overflow for test bug54082.c
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
shiltian authored and tru committed Jan 27, 2023
1 parent 069b294 commit 1639161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/runtime/test/parallel/bug54082.c
Expand Up @@ -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;
Expand Down

0 comments on commit 1639161

Please sign in to comment.