diff options
author | jconner <jconner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-08 18:30:09 +0000 |
---|---|---|
committer | jconner <jconner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-08 18:30:09 +0000 |
commit | 0b7333de7f0be7c7bdbd7d9c5ea8ccbd5d72ed34 (patch) | |
tree | d02eef1e3e51a0c6d9fa7707fd2128a9040ae527 /gcc/combine.c | |
parent | 2c2187c03d05b5145bd5237e601e7209125ae9c4 (diff) | |
download | gcc-0b7333de7f0be7c7bdbd7d9c5ea8ccbd5d72ed34.tar.gz |
PR rtl-optimization/23241
* combine.c (simplify_comparison): Fix error in determining
whether to lift a subreg from comparison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102869 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index d5be605751a..5628e24f045 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -10239,7 +10239,7 @@ simplify_comparison (enum rtx_code code, rtx *pop0, rtx *pop1) /* (A - C1) always sign-extends, like C2. */ && num_sign_bit_copies (a, inner_mode) > (unsigned int) (GET_MODE_BITSIZE (inner_mode) - - mode_width - 1))) + - (mode_width - 1)))) { op0 = SUBREG_REG (op0); continue; |