aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-07-29 13:45:47 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-07-29 13:45:47 +0000
commit950f7f45269b7cb641b9f754b408980a01971ce2 (patch)
treeacaa4c3048af7730f61897ba56c531c20312e416 /gcc/combine.c
parent8d0741923dc99b7876f8faafdc238b59a32d0ffc (diff)
downloadgcc-950f7f45269b7cb641b9f754b408980a01971ce2.zip
gcc-950f7f45269b7cb641b9f754b408980a01971ce2.tar.gz
gcc-950f7f45269b7cb641b9f754b408980a01971ce2.tar.bz2
double-int.h (double_int_and_not): New function.
2010-07-28 Richard Guenther <rguenther@suse.de> * double-int.h (double_int_and_not): New function. * combine.c (try_combine): Use it. * tree-vrp.c (simplify_bit_ops_using_ranges): Likewise. From-SVN: r162681
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index ad96e03..9754b089 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -2601,7 +2601,7 @@ try_combine (rtx i3, rtx i2, rtx i1, int *new_direct_jump_p)
i = double_int_and (i, m);
m = double_int_lshift (m, offset, HOST_BITS_PER_DOUBLE_INT, false);
i = double_int_lshift (i, offset, HOST_BITS_PER_DOUBLE_INT, false);
- o = double_int_ior (double_int_and (o, double_int_not (m)), i);
+ o = double_int_ior (double_int_and_not (o, m), i);
combine_merges++;
subst_insn = i3;