From: Richard Kenner Date: Fri, 2 Jun 1995 23:23:32 +0000 (-0400) Subject: (expand_binop): Don't use non-REG TARGET in 2-word case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a1234d8dab8c8f1cf7a28b511e9092062f52d9b;p=gcc.git (expand_binop): Don't use non-REG TARGET in 2-word case. From-SVN: r9868 --- 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.