2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr41956.c
blob5f639a1391561b79aa7fe7bb2e7f3d4824cc0699
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 void K (int *gpwgts, int *badminpwgt, int *badmaxpwgt)
6 int i;
7 for (i = 0; i < 10; i += 2) {
8 badminpwgt[i] = badminpwgt[i+1] = gpwgts[i]+gpwgts[i];
9 badmaxpwgt[i] = badmaxpwgt[i+1] = gpwgts[i]+gpwgts[i];