1 /* With -ffast-math, the latice value for sum2 used to change from NaN to
2 VARYING, in turn causing the lattice value of sum1 * sum2 change from
3 NaN to 0 (since sum1 is believed to be 0 at that moment, and
4 0 * VARYING = 0 with -ffast-math), which caused an ICE. */
6 /* { dg-do compile } */
7 /* { dg-options "-O2 -ffast-math" } */
10 foo (float *array
, int end
)
16 for (i
= 0; i
< end
; i
++)
20 for (i
= 0; i
< end
; i
++)
23 if (-10.0 / sum1
< 5.E
-5)