From 4eb2cb10f6266de7edb1d22222976f4c9e641687 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 2 Feb 1997 06:39:41 -0500 Subject: [PATCH] (find_split_point, case SET): Fix error in last change. From-SVN: r13579 --- gcc/combine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/combine.c b/gcc/combine.c index a0f15b3672c..800d0c71e4b 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -2674,7 +2674,7 @@ find_split_point (loc, insn) is known to be on, this can be converted into a NEG of a shift. */ if (STORE_FLAG_VALUE == -1 && XEXP (SET_SRC (x), 1) == const0_rtx && GET_MODE (SET_SRC (x)) == GET_MODE (XEXP (SET_SRC (x), 0)) - && 1 <= (len = exact_log2 + && 1 <= (pos = exact_log2 (nonzero_bits (XEXP (SET_SRC (x), 0), GET_MODE (XEXP (SET_SRC (x), 0)))))) { @@ -2684,7 +2684,7 @@ find_split_point (loc, insn) gen_rtx_combine (NEG, mode, gen_rtx_combine (LSHIFTRT, mode, XEXP (SET_SRC (x), 0), - GEN_INT (len)))); + GEN_INT (pos)))); split = find_split_point (&SET_SRC (x), insn); if (split && split != &SET_SRC (x))