Plugins: Add label-text.h to CPPLIB_H so it will be installed [PR115288]
[official-gcc.git] / gcc / testsuite / gfortran.dg / parloops-exit-first-loop-alt.f95
bloba33e11db017703aeda962b43a4820e9a0903ec8d
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-parloops2-details" }
6 ! Variable bound, vector addition.
8 subroutine foo (nr)
9 integer, intent(in) :: nr
10 integer, parameter :: n = 1000
11 integer, dimension (0:n-1) :: a, b, c
12 common a, b, c
13 integer :: ii
15 do ii = 0, nr - 1
16 c(ii) = a(ii) + b(ii) + 25
17 end do
18 end subroutine foo
20 ! { dg-final { scan-tree-dump-times "alternative exit-first loop transform succeeded" 1 "parloops2" } }