* config.gcc: Remove MASK_JUMP_IN_DELAY from target_cpu_default2.
[official-gcc.git] / gcc / testsuite / c-c++-common / gomp / pr58551.c
blobe2db70f9e8696a06fd0def787c23ba2322e3f783
1 /* PR middle-end/58551 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0 -fopenmp" } */
5 void
6 foo (int *a)
8 int i;
9 for (i = 0; i < 8; i++)
10 #pragma omp task
11 if (a[i])
12 __builtin_abort ();
15 void bar (int, int);
17 void
18 baz (int *a)
20 int i;
21 for (i = 0; i < 8; i++)
22 #pragma omp task
23 if (a[i])
25 int j, k;
26 for (j = 0; j < 10; j++)
27 for (k = 0; k < 8; k++)
28 bar (j, k);
29 for (k = 0; k < 12; k++)
30 bar (-1, k);
31 __builtin_abort ();