1 /* { dg-require-effective-target vect_int } */
26 __attribute__ ((noinline
))
31 int a
[N
] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
36 /* DR bases comparison: record and array. */
37 for (i
= 0; i
< N
; i
++)
39 tmp1
.strc_t
.strc_s
.b
[i
] = a
[i
];
43 for (i
= 0; i
< N
; i
++)
45 if (tmp1
.strc_t
.strc_s
.b
[i
] != a
[i
])
49 /* DR bases comparison: record containing ptr and array. */
50 for (i
= 0; i
< N
; i
++)
52 tmp1
.ptr_t
->strc_s
.c
[i
] = a
[i
];
56 for (i
= 0; i
< N
; i
++)
58 if (tmp1
.ptr_t
->strc_s
.c
[i
] != a
[i
])
73 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
74 /* { dg-final { cleanup-tree-dump "vect" } } */