diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-01-26 09:11:31 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2003-01-26 09:11:31 +0000 |
commit | 2cd622c31006a66c7a5c0e316f868000037a9de3 (patch) | |
tree | 9d859d202ad4a45e942a1eebb2746cfc4f1a43e1 /gcc/optabs.c | |
parent | 8ae91fc0348533eb653f6cbe521c72a412d7f8a9 (diff) | |
download | gcc-2cd622c31006a66c7a5c0e316f868000037a9de3.zip gcc-2cd622c31006a66c7a5c0e316f868000037a9de3.tar.gz gcc-2cd622c31006a66c7a5c0e316f868000037a9de3.tar.bz2 |
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
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |