------- Comment #16 from james dot me at gmail dot com 2006-11-04 16:26 ------- I applied Richard Guenther's patch to my own 4.2 svn branch to get this fixed locally, but the change had no effect. I am a little puzzled by this, because what I can discern from the discussion and comments the change:
/* If we're doing fast math, we don't care about comparison order wrt NaNs. This lets us use a shorter comparison sequence. */ - if (flag_unsafe_math_optimizations) + if (flag_finite_math_only) target_flags &= ~MASK_IEEE_FP; is a definitive fix. What else is going on here? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19116