1 ! { dg-options "-O3 -fdump-tree-lversion-details" }
3 ! Check that versioning is applied to a gather-like reduction operation.
5 function f(x
, index
, n
)
12 ! { dg-final { scan-tree-dump-times {want to version containing loop} 1 "lversion" } }
13 ! { dg-final { scan-tree-dump-times {versioned this loop} 1 "lversion" } }