rt_gccstream/gcc/testsuite/gcc.dg/pr15649-1.c

8 lines
139 B
C

/* { dg-do compile } */
/* { dg-options "-ffast-math -O2" } */
double foo (double x)
{
return __builtin_isgreater (x, 0.0) ? 0.0 : x;
}