1 2 3 4 5 6 7 8 9 10 11 12 13
/* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ void foo (int *x, int *y) { int i; for (i = 0; i < 11; i++) y[i] = (x[i] == 1) ? i + 1 : -(i + 1); } /* { dg-final { cleanup-tree-dump "vect" } } */