[Snipped from Debian's gcc-3.3_3.3.6-10] # DP: Fix PR rtl-optimization/23241 http://gcc.gnu.org/ml/gcc-patches/2005-08/msg00446.html *** a/gcc/combine.c 18 Jan 2005 08:39:05 -0000 1.325.2.19 --- b/gcc/combine.c 5 Aug 2005 18:50:13 -0000 *************** simplify_comparison (code, pop0, pop1) *** 10863,10869 **** /* (A - C1) always sign-extends, like C2. */ && num_sign_bit_copies (a, inner_mode) > (unsigned int) (GET_MODE_BITSIZE (inner_mode) ! - mode_width - 1))) { op0 = SUBREG_REG (op0); continue; --- 10863,10869 ---- /* (A - C1) always sign-extends, like C2. */ && num_sign_bit_copies (a, inner_mode) > (unsigned int) (GET_MODE_BITSIZE (inner_mode) ! - (mode_width - 1)))) { op0 = SUBREG_REG (op0); continue;