diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-08-19 07:32:24 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-08-19 07:32:24 -0400 |
commit | fe0cf571ecf5a92898cb5d55985c896e1eef4cc3 (patch) | |
tree | 2a11309f74a00734d349c515512d930d3c71a5dd /gcc/combine.c | |
parent | a687e8971c51d7dfe8ba671126ccc52e197ffba9 (diff) | |
download | gcc-fe0cf571ecf5a92898cb5d55985c896e1eef4cc3.zip gcc-fe0cf571ecf5a92898cb5d55985c896e1eef4cc3.tar.gz gcc-fe0cf571ecf5a92898cb5d55985c896e1eef4cc3.tar.bz2 |
Correctly apply last change.
From-SVN: r1895
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 55b9dd7..7372e16 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 |