summaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-01 02:31:03 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-01 02:31:03 +0000
commitc78e79157fc4dcaa062f65b70f6079b8708dd9f4 (patch)
tree91575bc789b046d9f870f1658f0ff2d5aa12127c /gcc/combine.c
parent032d3eaea252dbe7eaaae3352b2d995ae00f4d72 (diff)
downloadgcc-c78e79157fc4dcaa062f65b70f6079b8708dd9f4.tar.gz
* combine.c (simplify_shift_const): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17573 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 017cf12715e..0bf6712b409 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -8795,7 +8795,8 @@ simplify_shift_const (x, code, result_mode, varop, count)
&& GET_CODE (XEXP (varop, 0)) == LSHIFTRT
&& GET_CODE (XEXP (XEXP (varop, 0), 1)) == CONST_INT
&& (INTVAL (XEXP (XEXP (varop, 0), 1))
- >= (GET_MODE_BITSIZE (GET_MODE (XEXP (varop, 0))) - GET_MODE_BITSIZE (varop))))
+ >= (GET_MODE_BITSIZE (GET_MODE (XEXP (varop, 0)))
+ - GET_MODE_BITSIZE (GET_MODE (varop)))))
{
rtx varop_inner = XEXP (varop, 0);