diff options
author | DJ Delorie <dj@redhat.com> | 2005-03-23 03:04:10 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-03-23 03:04:10 +0000 |
commit | 750f3397fac939dd44c7a650e85656e377860028 (patch) | |
tree | 4a124f6b7cb1fcf0456b0892e67b160d99b04c1c /gcc/optabs.c | |
parent | 4b5019a92fbc8988c35ed8b9eba9c6dd04b96909 (diff) |
* optabs.c (expand_binop): Make sure the first subword's result
gets stored.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96921 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 57c3339437b..2a792857fa1 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -1534,6 +1534,11 @@ expand_binop (enum machine_mode mode, optab binoptab, rtx op0, rtx op1, } emit_move_insn (target_piece, newx); } + else + { + if (x != target_piece) + emit_move_insn (target_piece, x); + } carry_in = carry_out; } |