Commit 2cd622c3 by Alexandre Oliva Committed by Alexandre Oliva

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
parent 8ae91fc0
2003-01-26 Alexandre Oliva <aoliva@redhat.com> 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 * expr.c (emit_group_store): Initialize dst with CONST0_RTX
for the appropriate mode. for the appropriate mode.
2003-01-26 Alexandre Oliva <aoliva@redhat.com>
* calls.c (emit_library_call_value_1): Handle return values * calls.c (emit_library_call_value_1): Handle return values
in a PARALLEL. in a PARALLEL.
......
...@@ -1309,6 +1309,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods) ...@@ -1309,6 +1309,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
copy_rtx (xop0), copy_rtx (xop0),
copy_rtx (xop1))); copy_rtx (xop1)));
} }
else
target = xtarget;
return target; return target;
} }
......
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