summaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-29 13:45:47 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-29 13:45:47 +0000
commit4e948a9973e84d47119b259d7a111557f742a8c3 (patch)
treeacaa4c3048af7730f61897ba56c531c20312e416 /gcc/combine.c
parent0e8e9be326257a011ba3d19045a23ec3fb081ab4 (diff)
downloadgcc-4e948a9973e84d47119b259d7a111557f742a8c3.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162681 138bc75d-0d04-0410-961f-82ee72b054a4
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 ad96e031c73..9754b089675 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;