diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-06-02 23:23:32 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-06-02 23:23:32 +0000 |
commit | a572e6ef47df7de661553d8c545c1b720cc44291 (patch) | |
tree | 398d8b754e396b2341cd6ca00898757c2814a38a /gcc/optabs.c | |
parent | 65f73fbdbca92d8a5185627a2ae62d4ce4d975b1 (diff) | |
download | gcc-a572e6ef47df7de661553d8c545c1b720cc44291.tar.gz |
(expand_binop): Don't use non-REG TARGET in 2-word case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9868 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r-- | gcc/optabs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index 0dd824b0d23..08f4bebc40f 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -1047,7 +1047,7 @@ 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) + if (target == op0 || target == op1 || GET_CODE (target) != REG) target = 0; /* Multiply the two lower words to get a double-word product. |