Commit 3d0f0ad0 by Richard Kenner

(expand_expr, case ABS_EXPR): Compare with 0 of proper mode.

From-SVN: r6901
parent 3122945e
...@@ -5096,7 +5096,7 @@ expand_expr (exp, target, tmode, modifier) ...@@ -5096,7 +5096,7 @@ expand_expr (exp, target, tmode, modifier)
NULL_RTX, op1); NULL_RTX, op1);
else else
{ {
temp = compare_from_rtx (target, const0_rtx, GE, 0, mode, temp = compare_from_rtx (target, CONST0_RTX (mode), GE, 0, mode,
NULL_RTX, 0); NULL_RTX, 0);
if (temp == const1_rtx) if (temp == const1_rtx)
return target; return target;
......
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