Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr33804.c
blob3ae7df0a2a468745a379694c99fed29641ff57fc
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 void f(unsigned char *s, unsigned char *d, int n) {
5 int i;
6 for (i = 0; i < n; i += 4) {
7 d[i + 0] += s[i + 0];
8 d[i + 1] += s[i + 1];
9 d[i + 2] += s[i + 2];
10 d[i + 3] += s[i + 3];
14 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" {xfail vect_no_align } } } */
15 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" {xfail vect_no_align } } } */
16 /* { dg-final { cleanup-tree-dump "vect" } } */