1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_double } */
3 /* { dg-additional-options "-fdump-tree-optimized" } */
5 double x
[2], a
[4], b
[4], c
[5];
21 /* We may not vectorize the store to x[] as it accesses c out-of bounds
22 but we do want to vectorize the other two store groups. But we may
23 end up using scalar loads to vectorize the last group. */
25 /* { dg-final { scan-tree-dump-times "optimized: basic block" 3 "slp2" } } */
26 /* { dg-final { scan-tree-dump-times "BB vectorization with gaps at the end of a load is not supported" 1 "slp2" } } */
27 /* { dg-final { scan-tree-dump-times " = c\\\[4\\\];" 1 "optimized" } } */