]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/vrp-float-3.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vrp-float-3.c
1 // { dg-do compile }
2 // { dg-options "-O2 -fdisable-tree-ethread -fdump-tree-evrp" }
3
4 void link_error ();
5
6 void
7 foo (double x, double y)
8 {
9 if (x == y)
10 {
11 if (__builtin_isnan (x))
12 link_error ();
13 if (__builtin_isnan (y))
14 link_error ();
15 }
16 }
17
18 // { dg-final { scan-tree-dump-not "link_error" "evrp" } }