summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr15649-1.c
blob: 090209c916c99a4f6d4e70b7027ad16a2eb56a7c (plain)
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;
}