PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr56625.c
blobfe3fd7bb1a509178104c1f16ff918261c0374889
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int_mult } */
4 void foo (int a[], int b[])
6 int i;
7 for (i = 0; i < 100; i++)
9 if (a[i] == 0)
10 a[i] = b[i]*4;
11 else
12 a[i] = b[i]*3;
16 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */