aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-01-07 16:07:17 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-01-07 16:07:17 +0000
commit617531d9dd196e638c1cd9cae76d9d329309b627 (patch)
tree2f3127d84d2f0b8c75927cb022010edca1bb1471
parent4139c7ef40a6e43d53509b17d3397e94a7e20db2 (diff)
downloadgcc-617531d9dd196e638c1cd9cae76d9d329309b627.zip
gcc-617531d9dd196e638c1cd9cae76d9d329309b627.tar.gz
gcc-617531d9dd196e638c1cd9cae76d9d329309b627.tar.bz2
re PR tree-optimization/42641 (Random code-generation differences with GRAPHITE)
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/sese.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7762077..3eecd44 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/sese.c b/gcc/sese.c
index 2c03393..e59fdf6 100644
--- a/gcc/sese.c
+++ b/gcc/sese.c
@@ -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. */