Commit f12564b4 by Richard Kenner

(simplify_unary_operation, case SIGN_EXTEND): Use HOST_BITS_PER_WIDE_INT,

not HOST_BITS_PER_INT.

From-SVN: r2219
parent 1f9dfb72
...@@ -2925,7 +2925,7 @@ simplify_unary_operation (code, mode, op, op_mode) ...@@ -2925,7 +2925,7 @@ simplify_unary_operation (code, mode, op, op_mode)
abort (); abort ();
val = arg0; val = arg0;
} }
else if (GET_MODE_BITSIZE (op_mode) < HOST_BITS_PER_INT) else if (GET_MODE_BITSIZE (op_mode) < HOST_BITS_PER_WIDE_INT)
{ {
val val
= arg0 & ~((HOST_WIDE_INT) (-1) << GET_MODE_BITSIZE (op_mode)); = arg0 & ~((HOST_WIDE_INT) (-1) << GET_MODE_BITSIZE (op_mode));
......
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