1 2 3 4 5 6 7
/* { dg-do compile } */ /* { dg-options "-ffast-math -O2" } */ double foo (double x) { return __builtin_isgreater (x, 0.0) ? 0.0 : x; }