Commit 209eaaff by Kazu Hirata Committed by Kazu Hirata

* fold-const.c (fold_binary): Remove handling of RANGE_EXPR.

From-SVN: r96002
parent ede62875
2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c (fold_binary): Remove handling of RANGE_EXPR.
2005-03-06 David Edelsohn <edelsohn@gnu.org> 2005-03-06 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/predicates.md (branch_comparison_operator): Remove * config/rs6000/predicates.md (branch_comparison_operator): Remove
......
...@@ -7176,16 +7176,6 @@ fold_binary (tree expr) ...@@ -7176,16 +7176,6 @@ fold_binary (tree expr)
switch (code) switch (code)
{ {
case RANGE_EXPR:
if (TREE_CONSTANT (t) != wins)
{
tem = copy_node (t);
TREE_CONSTANT (tem) = wins;
TREE_INVARIANT (tem) = wins;
return tem;
}
return t;
case PLUS_EXPR: case PLUS_EXPR:
/* A + (-B) -> A - B */ /* A + (-B) -> A - B */
if (TREE_CODE (arg1) == NEGATE_EXPR) if (TREE_CODE (arg1) == NEGATE_EXPR)
......
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