1 /* { dg-do run { target vect_cmdline_needed } } */
2 /* { dg-options "-O2 -ftree-vectorize -ftree-vectorizer-verbose=3 -fdump-tree-vect-stats" } */
8 #if __LONG_MAX__ == 2147483647
9 typedef short half_word
;
11 typedef int half_word
;
14 int main_1 (int n
, int *p
)
21 for (i
= 0; i
< N
; i
++)
27 for (i
= 0; i
< N
; i
++)
34 for (i
= 0; i
< N
; i
++)
40 for (i
= 0; i
< N
; i
++)
51 return main_1 (n
+ 2, &n
);
54 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
55 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
56 /* { dg-final { cleanup-tree-dump "vect" } } */