1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 /* Verify there is no ICE with cbranchcc4 enabled. */
5
6 int foo (double d)
7 {
8 if (d == 0.0)
9 return 0;
10
11 d = ((d) >= 0 ? (d) : -(d));
12
13 if (d < 1.0)
14 return 1;
15 }