From a34958c91144f7ff02186aac1a08711fd197792c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 10 Apr 1994 08:04:35 -0400 Subject: [PATCH] (expand_shift): No longer reference lshl_optab. From-SVN: r7022 --- gcc/expmed.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/gcc/expmed.c b/gcc/expmed.c index 1d5d75e..b714c25 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 -- 2.7.4