Add transform_to_exit_first_loop_alt dump success message
[official-gcc.git] / gcc / testsuite / gfortran.dg / parloops-exit-first-loop-alt-2.f95
blob52434f2a9e35ddc9d0fd6c4e71e40584066ba44b
1 ! { dg-additional-options "-O2" }
2 ! { dg-require-effective-target pthread }
3 ! { dg-additional-options "-ftree-parallelize-loops=2" }
4 ! { dg-additional-options "-fdump-tree-parloops-details" }
6 ! Constant bound, vector addition.
8 subroutine foo ()
9 integer, parameter :: n = 1000
10 integer, dimension (0:n-1) :: a, b, c
11 common a, b, c
12 integer :: ii
14 do ii = 0, n - 1
15 c(ii) = a(ii) + b(ii) + 25
16 end do
17 end subroutine foo
19 ! { dg-final { scan-tree-dump-times "alternative exit-first loop transform succeeded" 1 "parloops" } }