1 ! { dg-options "-O3 -fdump-tree-lversion-details -fno-frontend-loop-interchange" }
3 ! Test a case in which the outer loop iterates over the inner dimension.
4 ! The options above prevent the frontend from interchanging the loops.
6 subroutine f1(x
, limit
, step
, n
)
7 integer :: limit
, step
, n
16 subroutine f2(x
, n
, limit
, step
)
17 integer :: n
, limit
, step
26 ! FIXME: The frontend doesn't give us enough information to tell which loop
27 ! is iterating over the innermost dimension, so we optimistically
28 ! assume the inner one is.
29 ! { dg-final { scan-tree-dump-not {want to version} "lversion" { xfail *-*-* } } }
30 ! { dg-final { scan-tree-dump-not {versioned} "lversion" { xfail *-*-* } } }