From: Richard Kenner Date: Sun, 10 Apr 1994 12:04:35 +0000 (-0400) Subject: (expand_shift): No longer reference lshl_optab. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a34958c91144f7ff02186aac1a08711fd197792c;p=gcc.git (expand_shift): No longer reference lshl_optab. From-SVN: r7022 --- diff --git a/gcc/expmed.c b/gcc/expmed.c index 1d5d75eddac..b714c251f62 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -1722,14 +1722,9 @@ expand_shift (code, mode, shifted, amount, target, unsignedp) target, unsignedp, methods); } else if (unsignedp) - { - temp = expand_binop (mode, - left ? lshl_optab : lshr_optab, - shifted, op1, target, unsignedp, methods); - if (temp == 0 && left) - temp = expand_binop (mode, ashl_optab, - shifted, op1, target, unsignedp, methods); - } + temp = expand_binop (mode, + left ? ashl_optab : lshr_optab, + shifted, op1, target, unsignedp, methods); /* Do arithmetic shifts. Also, if we are going to widen the operand, we can just as well