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
This commit is contained in:
Richard Guenther 2010-01-07 16:07:17 +00:00 committed by Richard Biener
parent 4139c7ef40
commit 617531d9dd
2 changed files with 7 additions and 1 deletions

View 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

View 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. */