From 9f4d4b89e9fa6559cee682f6ec8a565030cf5b9e Mon Sep 17 00:00:00 2001 From: aoliva Date: Sun, 26 Jan 2003 09:11:31 +0000 Subject: [PATCH] * optabs.c (expand_binop) : Return xtarget if we haven't been able to move the result to target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61829 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++-- gcc/optabs.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe1fe10..4a29fd5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,10 +1,11 @@ 2003-01-26 Alexandre Oliva + * optabs.c (expand_binop) : 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 - * calls.c (emit_library_call_value_1): Handle return values in a PARALLEL. diff --git a/gcc/optabs.c b/gcc/optabs.c index 38cc7e7..ea045f4 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -1309,6 +1309,8 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods) copy_rtx (xop0), copy_rtx (xop1))); } + else + target = xtarget; return target; } -- 2.7.4