From fe0cf571ecf5a92898cb5d55985c896e1eef4cc3 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 19 Aug 1992 07:32:24 -0400 Subject: [PATCH] Correctly apply last change. From-SVN: r1895 --- gcc/combine.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2