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

void
foo (double a[32], double 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" } } */