Commit b3487765 by Richard Stallman

(store_bit_field): When calling operand_subword_force,

if VALUE has a non-void mode, pass that mode.

From-SVN: r5939
parent 0766f239
......@@ -319,7 +319,10 @@ store_bit_field (str_rtx, bitsize, bitnum, fieldmode, value, align, total_size)
store_bit_field (op0, MIN (BITS_PER_WORD,
bitsize - i * BITS_PER_WORD),
bitnum + bit_offset, word_mode,
operand_subword_force (value, wordnum, fieldmode),
operand_subword_force (value, wordnum,
(GET_MODE (value) == VOIDmode
? fieldmode
: GET_MODE (value))),
align, total_size);
}
return value;
......
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