1 ! { dg-options "-O3 -fdump-tree-lversion-details" }
3 ! Check that versioning can handle small groups of accesses, with the
4 ! group being a separate array dimension.
6 subroutine f1(x
, n
, step
)
15 subroutine f2(x
, limit
, step
)
16 integer :: limit
, step
24 subroutine f3(x
, n
, step
)
26 real :: x(3, n
* step
)
34 subroutine f4(x
, limit
, step
)
35 integer :: limit
, step
44 subroutine f5(x
, n
, step
)
46 real :: x(4, n
* step
)
55 subroutine f6(x
, limit
, step
)
56 integer :: limit
, step
66 ! { dg-final { scan-tree-dump-times {want to version containing loop} 6 "lversion" } }
67 ! { dg-final { scan-tree-dump-times {versioned this loop} 6 "lversion" } }