]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/c-c++-common/gomp/pr58257.c
Merge branch 'master' into devel/modula-2.
[gcc.git] / gcc / testsuite / c-c++-common / gomp / pr58257.c
1 /* PR middle-end/58257 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fopenmp -Wall" } */
4
5 int
6 foo (int n)
7 {
8 int a[10][10];
9 int x, y;
10 #pragma omp parallel for collapse(2) /* { dg-bogus "may be used uninitialized in this function" } */
11 for (x = 0; x < n; x++) /* { dg-bogus "may be used uninitialized in this function" } */
12 for (y = 0; y < n; y++)
13 a[x][y] = x + y * y;
14 return a[0][0];
15 }
This page took 0.037213 seconds and 5 git commands to generate.