diff options
author | Graham Stott <graham.stott@btinternet.com> | 2005-12-26 18:58:56 +0000 |
---|---|---|
committer | Graham Stott <grahams@gcc.gnu.org> | 2005-12-26 18:58:56 +0000 |
commit | 01a097e8ec830c49674e24862d16e101c43c8932 (patch) | |
tree | 2d8e54c1e758421f6a178785d50cac141214bf60 /gcc/combine.c | |
parent | 8b5bc374b1f42fb13a78c00cbd6557b3248e66c6 (diff) | |
download | gcc-01a097e8ec830c49674e24862d16e101c43c8932.zip gcc-01a097e8ec830c49674e24862d16e101c43c8932.tar.gz gcc-01a097e8ec830c49674e24862d16e101c43c8932.tar.bz2 |
re PR middle-end/25568 (RTL checking bootstrap failure on i686-unknown-linux-gnu)
PR middle-end/25568
* combine.c (simplify_shift_const_1 <case PLUS>):Fix enable-checking
rtl bootstrap failure.
From-SVN: r109064
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 2482bbd..1361b10 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -8919,6 +8919,7 @@ simplify_shift_const_1 (enum rtx_code code, enum machine_mode result_mode, && (new = simplify_const_binary_operation (ASHIFT, result_mode, XEXP (varop, 1), GEN_INT (count))) != 0 + && GET_CODE (new) == CONST_INT && merge_outer_ops (&outer_op, &outer_const, PLUS, INTVAL (new), result_mode, &complement_p)) { @@ -8937,6 +8938,7 @@ simplify_shift_const_1 (enum rtx_code code, enum machine_mode result_mode, && (new = simplify_const_binary_operation (code, result_mode, XEXP (varop, 1), GEN_INT (count))) != 0 + && GET_CODE (new) == CONST_INT && merge_outer_ops (&outer_op, &outer_const, XOR, INTVAL (new), result_mode, &complement_p)) { |