Debian Codegraph @

gcc/testsuite/gfortran.dg/gomp/pr71704.f90

raw
1 ! PR fortran/71704
2 ! { dg-do compile }
3
4 real function f0 ()
5 !$omp declare simd (f0)
6 f0 = 1
7 end
8
9 real function f1 ()
10 !$omp declare target (f1)
11 f1 = 1
12 end
13
14 real function f2 ()
15 !$omp declare reduction (foo : integer : omp_out = omp_out + omp_in) &
16 !$omp & initializer (omp_priv = 0)
17 f2 = 1
18 end
19
20 real function f3 ()
21 real, save :: t
22 !$omp threadprivate (t)
23 f3 = 1
24 end
25
26 real function f4 ()
27 !$omp taskwait
28 f4 = 1
29 end
30
31 real function f5 ()
32 !$omp barrier
33 f5 = 1
34 end
35
36 real function f6 ()
37 !$omp parallel
38 !$omp end parallel
39 f6 = 1
40 end
41
42 real function f7 ()
43 !$omp single
44 !$omp end single
45 f7 = 1
46 end
47
48 real function f8 ()
49 !$omp critical
50 !$omp end critical
51 f8 = 1
52 end
53
54 real function f9 ()
55 !$omp critical
56 !$omp end critical
57 f9 = 1
58 end