Commit e916e1d0 by Andrew Pinski Committed by Andrew Pinski

tree-cfg.c (find_case_label_for_value): Replace call to simple_cst_equal with tree_int_cst_equal.

2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-cfg.c (find_case_label_for_value): Replace call to
        simple_cst_equal with tree_int_cst_equal.

From-SVN: r82033
parent 84c672b9
2004-05-19 Andrew Pinski <pinskia@physics.uc.edu>
* tree-cfg.c (find_case_label_for_value): Replace call to
simple_cst_equal with tree_int_cst_equal.
2004-05-19 Jeff Law <law@redhat.com>
* tree-ssa-phiopt.c (value_replacement): Handle the case where
......
......@@ -1958,7 +1958,7 @@ find_case_label_for_value (tree switch_expr, tree val)
else if (CASE_HIGH (t) == NULL)
{
/* A `normal' case label. */
if (simple_cst_equal (CASE_LOW (t), val) == 1)
if (tree_int_cst_equal (CASE_LOW (t), val))
return t;
}
else
......
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