1 /* { dg-options "-std=c99 -fopt-info -O3" } */
4 vadd (int *dst
, int *op1
, int *op2
, int count
)
6 for (int i
= 0; i
< count
; ++i
)
7 dst
[i
] = op1
[i
] + op2
[i
];
10 /* { dg-message "loop vectorized" "" { target *-*-* } 6 } */
11 /* { dg-message "loop versioned for vectorization because of possible aliasing" "" { target *-*-* } 6 } */