re PR bootstrap/58521 (bootstrap failure: ICE in mem_ref_in_stmt, at tree-ssa-loop...
authorRichard Biener <rguenther@suse.de>
Wed, 25 Sep 2013 09:51:13 +0000 (09:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 25 Sep 2013 09:51:13 +0000 (09:51 +0000)
2013-09-25  Richard Biener  <rguenther@suse.de>

PR middle-end/58521
* tree.c (iterative_hash_expr): Remove MEM_REF special handling.

From-SVN: r202889

gcc/ChangeLog
gcc/tree.c

index 775d562871e155e17fe5a5765339b023420191a3..fdca49515ef893a81c1cb7759d4cdb074173a4b5 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-25  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/58521
+       * tree.c (iterative_hash_expr): Remove MEM_REF special handling.
+
 2013-09-25  Jan Hubicka  <jh@suse.cz>
 
        * cgraph.c (cgraph_resolve_speculation): Use semantical equivalency
index a7b66c5ae14dec546a9f6567520e6bd3f8bdda88..1c881e4a4ce724e359a6dcf0f08431f751e32672 100644 (file)
@@ -7280,21 +7280,6 @@ iterative_hash_expr (const_tree t, hashval_t val)
          }
        return val;
       }
-    case MEM_REF:
-      {
-       /* The type of the second operand is relevant, except for
-          its top-level qualifiers.  */
-       tree type = TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (t, 1)));
-
-       val = iterative_hash_object (TYPE_HASH (type), val);
-
-       /* We could use the standard hash computation from this point
-          on.  */
-       val = iterative_hash_object (code, val);
-       val = iterative_hash_expr (TREE_OPERAND (t, 1), val);
-       val = iterative_hash_expr (TREE_OPERAND (t, 0), val);
-       return val;
-      }
     case FUNCTION_DECL:
       /* When referring to a built-in FUNCTION_DECL, use the __builtin__ form.
         Otherwise nodes that compare equal according to operand_equal_p might