Commit d283912a by Richard Stallman

(convert_to_integer): Don't pass truncate into ABS_EXPR.

From-SVN: r5037
parent 1c5334be
...@@ -291,7 +291,8 @@ convert_to_integer (type, expr) ...@@ -291,7 +291,8 @@ convert_to_integer (type, expr)
case NEGATE_EXPR: case NEGATE_EXPR:
case BIT_NOT_EXPR: case BIT_NOT_EXPR:
case ABS_EXPR: /* This is not correct for ABS_EXPR,
since we must test the sign before truncation. */
{ {
register tree typex = type; register tree typex = type;
......
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