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