tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / gomp / nothing-1.f90
blob9fc24d4bd6ca8fbc0cf3ee8235bd14abee91708e
1 module m
2 implicit none (type, external)
3 !$omp nothing
5 type t
6 !$omp nothing
7 integer s
8 end type
10 contains
12 integer function foo (i)
13 integer :: i
15 !$omp nothing
16 if (.false.) &
17 & & !$omp nothing
18 i = i + 1
20 ! In the following, '& & !$' is not a valid OpenMP sentinel and,
21 ! hence, the line is regarded as comment
22 if (.false.) &
23 & & !$omp nothing
24 then
25 end if
26 foo = i
27 end
28 end module