Debian Codegraph @

gcc/testsuite/c-c++-common/gomp/doacross-8.c

raw
1 /* PR middle-end/108685 */
2 /* { dg-do compile } */
3
4 void
5 foo (int a)
6 {
7 for (int m = 0; m < 10; m++)
8 #pragma omp for collapse(2) ordered(4)
9 for (int i = 0; i < 2; i++)
10 for (int j = 0; j < a; j++)
11 for (int k = 0; k < 2; k++)
12 for (int l = 0; l < a; l++)
13 {
14 #pragma omp ordered depend (source)
15 __builtin_abort ();
16 }
17 }