From 2cd622c31006a66c7a5c0e316f868000037a9de3 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva 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. * optabs.c (expand_binop) : Return xtarget if we haven't been able to move the result to target. From-SVN: r61829 --- gcc/ChangeLog | 5 +++-- gcc/optabs.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe1fe105fde..4a29fd5fef5 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 38cc7e7fdff..ea045f455e0 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.30.2