From 729a2bc66a8d75624f96a6e7c50b7cd85d72f68a Mon Sep 17 00:00:00 2001 From: Alasdair Baird Date: Thu, 2 Jul 1998 00:55:45 +0000 Subject: * combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs. From-SVN: r20887 --- gcc/combine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/combine.c') diff --git a/gcc/combine.c b/gcc/combine.c index ea6bcb8..a0c7864 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -9471,10 +9471,10 @@ simplify_comparison (code, pop0, pop1) > GET_MODE_SIZE (GET_MODE (SUBREG_REG (inner_op0)))) && (GET_MODE (SUBREG_REG (inner_op0)) == GET_MODE (SUBREG_REG (inner_op1))) - && (GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (op0))) + && (GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (inner_op0))) <= HOST_BITS_PER_WIDE_INT) && (0 == ((~c0) & nonzero_bits (SUBREG_REG (inner_op0), - GET_MODE (SUBREG_REG (op0))))) + GET_MODE (SUBREG_REG (inner_op0))))) && (0 == ((~c1) & nonzero_bits (SUBREG_REG (inner_op1), GET_MODE (SUBREG_REG (inner_op1)))))) { -- cgit v1.1