From: Richard Kenner Date: Wed, 19 Aug 1992 11:32:24 +0000 (-0400) Subject: Correctly apply last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe0cf571ecf5a92898cb5d55985c896e1eef4cc3;p=gcc.git Correctly apply last change. From-SVN: r1895 --- diff --git a/gcc/combine.c b/gcc/combine.c index 55b9dd77e1e..7372e166392 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -7544,9 +7544,6 @@ simplify_comparison (code, pop0, pop1) break; case SUBREG: - /* If the inner mode is narrower and we are extracting the low part, - we can treat the SUBREG as if it were a ZERO_EXTEND. */ - if (subreg_lowpart_p (op0) /* Check for the case where we are comparing A - C1 with C2, both constants are smaller than 1/2 the maxium positive value in MODE, and the comparison is equality or unsigned. @@ -7576,6 +7573,9 @@ simplify_comparison (code, pop0, pop1) continue; } + /* If the inner mode is narrower and we are extracting the low part, + we can treat the SUBREG as if it were a ZERO_EXTEND. */ + if (subreg_lowpart_p (op0) && GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (op0))) < mode_width) /* Fall through */ ; else