blob: ae7aea25ebdd1d54877b7acd2f3da9022c70a5f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
int a[256], b[256], c[256];
foo () {
int i;
for (i=0; i<256; i++){
a[i] = b[i] + c[i];
}
}
/* { dg-final { scan-tree-dump-times "Deleting : vect_" 0 "dceloop3" } } */
/* { dg-final { cleanup-tree-dump "dceloop\[1-3\]" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
|