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 ! Constant bound, vector addition.
9 integer, parameter :: n
= 1000
10 integer, dimension (0:n
-1) :: a
, b
, c
15 c(ii
) = a(ii
) + b(ii
) + 25
19 ! { dg-final { scan-tree-dump-times "alternative exit-first loop transform succeeded" 1 "parloops2" } }