]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR tree-optimization/42641 (Random code-generation differences with GRAPHITE)
authorRichard Guenther <rguenther@suse.de>
Thu, 7 Jan 2010 16:07:17 +0000 (16:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 7 Jan 2010 16:07:17 +0000 (16:07 +0000)
2010-01-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42641
* sese.c (rename_map_elt_info): Use the SSA name version, do
not hash pointers.

From-SVN: r155695

gcc/ChangeLog
gcc/sese.c

index 77620771597bf9d9c6c894c54a5172d104c808a1..3eecd44218e38a93a26d4ad76af67cbaeb345be6 100644 (file)
@@ -1,3 +1,9 @@
+2010-01-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/42641
+       * sese.c (rename_map_elt_info): Use the SSA name version, do
+       not hash pointers.
+
 2010-01-07  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/42625
index 2c033939b7f793fa45f21a1515c5b3461d17202f..e59fdf667d0c83edb60c293e65d6ec7f0888f1fe 100644 (file)
@@ -78,7 +78,7 @@ debug_rename_map (htab_t map)
 hashval_t
 rename_map_elt_info (const void *elt)
 {
-  return htab_hash_pointer (((const struct rename_map_elt_s *) elt)->old_name);
+  return SSA_NAME_VERSION (((const struct rename_map_elt_s *) elt)->old_name);
 }
 
 /* Compares database elements E1 and E2.  */