Commit 06cd9d72 by DJ Delorie Committed by DJ Delorie

optabs.c (expand_binop): Make sure the first subword's result gets stored.

* optabs.c (expand_binop): Make sure the first subword's result
gets stored.

From-SVN: r96921
parent c5106933
2005-03-23 DJ Delorie <dj@redhat.com>
* optabs.c (expand_binop): Make sure the first subword's result
gets stored.
2005-03-23 Joseph S. Myers <joseph@codesourcery.com> 2005-03-23 Joseph S. Myers <joseph@codesourcery.com>
* c-common.c (c_common_truthvalue_conversion): Adjust comment. * c-common.c (c_common_truthvalue_conversion): Adjust comment.
......
...@@ -1534,6 +1534,11 @@ expand_binop (enum machine_mode mode, optab binoptab, rtx op0, rtx op1, ...@@ -1534,6 +1534,11 @@ expand_binop (enum machine_mode mode, optab binoptab, rtx op0, rtx op1,
} }
emit_move_insn (target_piece, newx); emit_move_insn (target_piece, newx);
} }
else
{
if (x != target_piece)
emit_move_insn (target_piece, x);
}
carry_in = carry_out; carry_in = carry_out;
} }
......
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