Commit ab314f6a by Jim Wilson

(decode_field_reference): Fix force_fit_type call.

From-SVN: r3530
parent f9361d5c
...@@ -2435,7 +2435,7 @@ decode_field_reference (exp, pbitsize, pbitpos, pmode, punsignedp, ...@@ -2435,7 +2435,7 @@ decode_field_reference (exp, pbitsize, pbitpos, pmode, punsignedp,
mask = build_int_2 (~0, ~0); mask = build_int_2 (~0, ~0);
TREE_TYPE (mask) = unsigned_type; TREE_TYPE (mask) = unsigned_type;
force_fit_type (mask); force_fit_type (mask, 0);
mask = const_binop (LSHIFT_EXPR, mask, size_int (precision - *pbitsize), 0); mask = const_binop (LSHIFT_EXPR, mask, size_int (precision - *pbitsize), 0);
mask = const_binop (RSHIFT_EXPR, mask, size_int (precision - *pbitsize), 0); mask = const_binop (RSHIFT_EXPR, mask, size_int (precision - *pbitsize), 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