projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2a6a8
)
(expand_binop): In last change, don't defererence TARGET if it is 0.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 5 Jun 1995 13:05:09 +0000
(09:05 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 5 Jun 1995 13:05:09 +0000
(09:05 -0400)
From-SVN: r9877
gcc/optabs.c
patch
|
blob
|
history
diff --git
a/gcc/optabs.c
b/gcc/optabs.c
index 08f4bebc40fe487845a1c19cd2a695a69e9f1e08..c0bf9598b1b8ea744351404e3c968ce3022c440e 100644
(file)
--- a/
gcc/optabs.c
+++ b/
gcc/optabs.c
@@
-1047,7
+1047,8
@@
expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
/* If the target is the same as one of the inputs, don't use it. This
prevents problems with the REG_EQUAL note. */
- if (target == op0 || target == op1 || GET_CODE (target) != REG)
+ if (target == op0 || target == op1
+ || (target != 0 && GET_CODE (target) != REG))
target = 0;
/* Multiply the two lower words to get a double-word product.