aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/vrp-float-signbit-3.c
blob: 182a33fca6e324abded473a0e2f1109fa337794f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do compile }
// { dg-options "-O2 -ffinite-math-only -fdump-tree-evrp" }

void link_error();

void foo(float x)
{
  if (__builtin_signbit (x))
    {
      if (x > 0.0)
	link_error();
    }
}

// { dg-final { scan-tree-dump-not "link_error" "evrp" } }