optabs.c (expand_binop): Return xtarget if we haven't been able to move the result to target.

* optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
been able to move the result to target.

From-SVN: r61829
This commit is contained in:
Alexandre Oliva 2003-01-26 09:11:31 +00:00 committed by Alexandre Oliva
parent 8ae91fc034
commit 2cd622c310
2 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,11 @@
2003-01-26 Alexandre Oliva <aoliva@redhat.com>
* optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
been able to move the result to target.
* expr.c (emit_group_store): Initialize dst with CONST0_RTX
for the appropriate mode.
2003-01-26 Alexandre Oliva <aoliva@redhat.com>
* calls.c (emit_library_call_value_1): Handle return values
in a PARALLEL.

View File

@ -1309,6 +1309,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
copy_rtx (xop0),
copy_rtx (xop1)));
}
else
target = xtarget;
return target;
}