Commit 6d9c91e9 by Ian Lance Taylor

Cast both sides of the conditional expression.

Cast both sides of the conditional expression.  Still covered by same
ChangeLog entry--nothing was checked in since last change.

From-SVN: r120997
parent e4c9f3c2
......@@ -4176,7 +4176,9 @@ expand_divmod (int rem_flag, enum tree_code code, enum machine_mode mode,
HOST_WIDE_INT d = INTVAL (op1);
unsigned HOST_WIDE_INT abs_d;
abs_d = d >= 0 ? d : - (unsigned HOST_WIDE_INT) d;
abs_d = (d >= 0
? (unsigned HOST_WIDE_INT) d
: - (unsigned HOST_WIDE_INT) d);
/* n rem d = n rem -d */
if (rem_flag && d < 0)
......
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