summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1996-10-27 22:17:12 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1996-10-27 22:17:12 +0000
commit718acf6d8d95b67fe9afe99330594983b884581f (patch)
tree5b1c520f61f319ca8430f4212035c0b90f1c3d54 /gcc/fold-const.c
parente92ac4210395ad5c347a7cd87cd968d0066f5b28 (diff)
downloadgcc-718acf6d8d95b67fe9afe99330594983b884581f.tar.gz
* fold-const.c (merge_ranges): Fix thinko/typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13042 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 9b7fe455539..ddd2f63bdb7 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -2929,7 +2929,7 @@ merge_ranges (pin_p, plow, phigh, in0_p, low0, high0, in1_p, low1, high1)
below are simplified by the ones above. */
no_overlap = integer_onep (range_binop (LT_EXPR, integer_type_node,
high0, 1, low1, 0));
- subset = integer_onep (range_binop (LT_EXPR, integer_type_node,
+ subset = integer_onep (range_binop (LE_EXPR, integer_type_node,
high1, 1, high0, 1));
/* We now have four cases, depending on whether we are including or