Commit 996c63d3 by Richard Kenner

(fold, case PLUS_EXPR): Add a missing test of flag_fast_math.

From-SVN: r6341
parent c407b802
......@@ -3622,7 +3622,8 @@ fold (expr)
TREE_OPERAND (arg0, 1)));
}
/* In IEEE floating point, x+0 may not equal x. */
else if (TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT
else if ((TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT
|| flag_fast_math)
&& real_zerop (arg1))
return non_lvalue (convert (type, arg0));
associate:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment