1 /* { dg-require-effective-target vect_int } */
8 __attribute__ ((noinline
))
14 /* Multidimensional array. Aligned. */
15 for (i
= 0; i
< 16; i
++)
17 for (j
= 0; j
< N
; j
++)
24 for (i
= 0; i
< 16; i
++)
26 for (j
= 0; j
< N
; j
++)
34 __attribute__ ((noinline
))
40 /* Multidimensional array. Aligned. */
41 for (i
= 0; i
< 16; i
++)
43 for (j
= 0; j
< N
; j
++)
48 for (i
= 0; i
< 16; i
++)
50 for (j
= 2; j
< N
+2; j
++)
58 __attribute__ ((noinline
))
62 int ic
[16][16][5][N
+2];
64 /* Multidimensional array. Not aligned. */
65 for (i
= 0; i
< 16; i
++)
67 for (j
= 0; j
< N
; j
++)
74 for (i
= 0; i
< 16; i
++)
76 for (j
= 0; j
< N
; j
++)
78 if (ic
[2][1][6][j
+1] != 5)
95 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 3 "vect" } } */
96 /* { dg-final { cleanup-tree-dump "vect" } } */