1! { dg-do compile }
2! { dg-require-effective-target vect_float }
3! { dg-additional-options "--param vect-max-peeling-for-alignment=0" }
4
5! Peeling to align the store to Y will also align the load from Y.
6! The load from X may still be misaligned.
7
8SUBROUTINE SAXPY(X, Y, A)
9DIMENSION X(64), Y(64)
10Y = Y + A * X
11END
12
13! { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } }
14! { dg-final { scan-tree-dump-times "accesses have the same alignment." 1 "vect" } }
15