diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-02 19:23:32 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-02 19:23:32 -0400 |
commit | 5a1234d8dab8c8f1cf7a28b511e9092062f52d9b (patch) | |
tree | 398d8b754e396b2341cd6ca00898757c2814a38a /gcc/optabs.c | |
parent | 772cf983a761f3409c3c61ad087a79de21b4c5ef (diff) | |
download | gcc-5a1234d8dab8c8f1cf7a28b511e9092062f52d9b.zip gcc-5a1234d8dab8c8f1cf7a28b511e9092062f52d9b.tar.gz gcc-5a1234d8dab8c8f1cf7a28b511e9092062f52d9b.tar.bz2 |
(expand_binop): Don't use non-REG TARGET in 2-word case.
From-SVN: r9868
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 0dd824b..08f4beb 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. |