1 /* { dg-require-effective-target vect_int } */
26 int a
[N
] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
28 __attribute__ ((noinline
))
37 /* DR bases comparison: record and array. */
38 for (i
= 0; i
< N
; i
++)
40 tmp1
.strc_t
.strc_s
.b
[i
] = a
[i
];
44 for (i
= 0; i
< N
; i
++)
46 if (tmp1
.strc_t
.strc_s
.b
[i
] != a
[i
])
50 /* DR bases comparison: record containing ptr and array. */
51 for (i
= 0; i
< N
; i
++)
53 tmp1
.ptr_t
->strc_s
.c
[i
] = a
[i
];
57 for (i
= 0; i
< N
; i
++)
59 if (tmp1
.ptr_t
->strc_s
.c
[i
] != a
[i
])
74 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
75 /* { dg-final { cleanup-tree-dump "vect" } } */