Commit 19e1af6e by Roger Sayle Committed by Roger Sayle

* tree-ssa-dom.c (extract_range_from_cond): Correct condition.

From-SVN: r93697
parent 778f72f2
2004-01-15 Roger Sayle <roger@eyesopen.com>
* tree-ssa-dom.c (extract_range_from_cond): Correct condition.
2004-01-15 Roger Sayle <roger@eyesopen.com>
* harg-reg-set.h (reg_class_names): Prototype global array.
* regclass.c (reg_class_names): Declare here and initialize to
REG_CLASS_NAMES.
......
......@@ -3227,7 +3227,7 @@ extract_range_from_cond (tree cond, tree *hi_p, tree *lo_p, int *inverted_p)
case LT_EXPR:
low = TYPE_MIN_VALUE (type);
if (!tree_int_cst_equal (low, op1))
if (!tree_int_cst_lt (low, op1))
return 0;
high = int_const_binop (MINUS_EXPR, op1, integer_one_node, 1);
inverted = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment