aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/no-trapping-math-1.c
blob: d682387038e7883521393d732bce1af779465fff (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Test for pr30485.  */
/* { 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];
}