Commit d01bc862 by Doug Evans

(store_split_bit_field): If value is VOIDmode, pass word_mode to force_reg.

From-SVN: r8940
parent e57bfabe
......@@ -747,7 +747,9 @@ store_split_bit_field (op0, bitsize, bitpos, value, align)
value = word;
else
value = gen_lowpart_common (word_mode,
force_reg (GET_MODE (value), value));
force_reg (GET_MODE (value) != VOIDmode
? GET_MODE (value)
: word_mode, value));
}
while (bitsdone < bitsize)
......
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