* fold-const.c (fold_binary): Remove handling of RANGE_EXPR.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 7 Mar 2005 03:20:54 +0000 (03:20 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 7 Mar 2005 03:20:54 +0000 (03:20 +0000)
From-SVN: r96002

gcc/ChangeLog
gcc/fold-const.c

index 521aebed82dab3a48074df6913fd233519f8fca4..6c46d5822c012589fc91423097a0000c59c8ef5e 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        * config/rs6000/predicates.md (branch_comparison_operator): Remove
index 1cab3fea43a1caab1c6e6ed250bff8feee1a57e1..b5f919eadf3ec052e31e93ccc851a6952cc2c4ac 100644 (file)
@@ -7176,16 +7176,6 @@ fold_binary (tree expr)
 
   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:
       /* A + (-B) -> A - B */
       if (TREE_CODE (arg1) == NEGATE_EXPR)