diff --git a/openmp/runtime/test/misc_bugs/many-microtask-args.c b/openmp/runtime/test/misc_bugs/many-microtask-args.c index a35487277ccc..d644515d9a4f 100644 --- a/openmp/runtime/test/misc_bugs/many-microtask-args.c +++ b/openmp/runtime/test/misc_bugs/many-microtask-args.c @@ -4,6 +4,7 @@ int main() { + int i; int i1 = 0; int i2 = 1; int i3 = 2; @@ -23,7 +24,7 @@ int main() int r = 0; #pragma omp parallel for firstprivate(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16) reduction(+:r) - for (int i = 0; i < i16; i++) { + for (i = 0; i < i16; i++) { r += i + i1 + i2 + i3 + i4 + i5 + i6 + i7 + i8 + i9 + i10 + i11 + i12 + i13 + i14 + i15 + i16; }