summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr23816-1.c
blob: 9c76d2e9dd64d0e9857d6d5bcd187c58a02ee3cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-require-effective-target vect_condition } */

void
foo (float a[32], float b[2][32])
{
  int i;
  for (i = 0; i < 32; i++)
    a[i] = (b[0][i] > b[1][i]) ? b[0][i] : b[1][i];
}

/* { dg-final { cleanup-tree-dump "vect" } } */