1 extern void abort (void);
6 f1 (int i
, int j
, int k
)
8 int l
= 6, m
= 7, n
= 8;
9 #pragma omp task private(j, m) shared(k, n)
13 if (++a
!= 19 || ++i
!= 9 || j
!= 6 || ++l
!= 7 || m
!= 5 || ++n
!= 9)
18 if (a
!= 19 || i
!= 8 || j
!= 26 || k
!= 0 || l
!= 6 || m
!= 7 || n
!= 9)
22 int v1
= 1, v2
= 2, v5
= 5;
29 #pragma omp sections private (v1) firstprivate (v2)
37 if (++v1
!= 8 || ++v2
!= 3 || ++v3
!= 4 || ++v4
!= 5 || ++v5
!= 6)
41 if (v1
!= 7 || v2
!= 2 || v3
!= 3 || v4
!= 4 || v5
!= 6)
50 f3 (int i
, int j
, int k
)
52 int l
= 6, m
= 7, n
= 8;
53 #pragma omp task private(j, m) shared(k, n) untied
57 if (++a
!= 19 || ++i
!= 9 || j
!= 6 || ++l
!= 7 || m
!= 5 || ++n
!= 9)
62 if (a
!= 19 || i
!= 8 || j
!= 26 || k
!= 0 || l
!= 6 || m
!= 7 || n
!= 9)
74 #pragma omp parallel num_threads(4)