]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-threadupdate.c (redirection_data_hash): Use the index of the destination...
authorJeff Law <law@redhat.com>
Sun, 21 Nov 2004 15:02:30 +0000 (08:02 -0700)
committerJeff Law <law@gcc.gnu.org>
Sun, 21 Nov 2004 15:02:30 +0000 (08:02 -0700)
        * tree-ssa-threadupdate.c (redirection_data_hash): Use the
        index of the destination block for the hash value rather than
        hashing a pointer.

From-SVN: r90980

gcc/ChangeLog
gcc/tree-ssa-threadupdate.c

index 7601d20309d500e62cde600bdcc6e9370de7eedc..b4f0c52320f027901051b40fcaec30f10ada6504 100644 (file)
@@ -1,3 +1,9 @@
+2004-11-21  Jeff Law  <law@redhat.com>
+
+       * tree-ssa-threadupdate.c (redirection_data_hash): Use the
+       index of the destination block for the hash value rather than
+       hashing a pointer.
+
 2004-11-20  Joseph S. Myers  <joseph@codesourcery.com>
 
        * c-typeck.c (build_array_ref): Don't check for index == 0.  Make
index 8d205fdf384428b0fb461c645e4d4056114e46dc..7d2788d6ae3a5102519ab5cb65de670b5a230120 100644 (file)
@@ -203,7 +203,7 @@ static hashval_t
 redirection_data_hash (const void *p)
 {
   edge e = ((struct redirection_data *)p)->outgoing_edge;
-  return htab_hash_pointer (e);
+  return e->dest->index;
 }
 
 static int