2009-10-06 Richard Guenther <rguenther@suse.de>
* lto-symtab.c (lto_symtab_entry_hash): Hash strings, not pointers.
From-SVN: r152491
+2009-10-06 Richard Guenther <rguenther@suse.de>
+
+ * lto-symtab.c (lto_symtab_entry_hash): Hash strings, not pointers.
+
2009-10-06 Tobias Burnus <burnus@net-b.de>
PR lto/41591
{
const struct lto_symtab_entry_def *base =
(const struct lto_symtab_entry_def *) p;
- return htab_hash_pointer (base->id);
+ return htab_hash_string (IDENTIFIER_POINTER (base->id));
}
/* Return non-zero if P1 and P2 points to lto_symtab_entry_def structs