diff options
author | Richard Guenther <rguenther@suse.de> | 2010-05-16 14:47:38 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-05-16 14:47:38 +0000 |
commit | 6456e26e2cd7f182ad6e8650e15799324c4b4173 (patch) | |
tree | 3a3ab8d63f27f74010d3d4b98f99414f615e514d /gcc/varasm.c | |
parent | fa36ce9c63a6a7531df13300a41483ac7e3268fa (diff) | |
download | gcc-6456e26e2cd7f182ad6e8650e15799324c4b4173.tar.gz |
lto-symtab.c (lto_symtab_entry_hash): Use IDENTIFIER_HASH_VALUE.
2010-05-16 Richard Guenther <rguenther@suse.de>
* lto-symtab.c (lto_symtab_entry_hash): Use IDENTIFIER_HASH_VALUE.
* optabs.c (libfunc_decl_hash): Likewise.
* varasm.c (emutls_decl): Likewise.
fortran/
* trans-decl.c (module_htab_decls_hash): Use IDENTIFIER_HASH_VALUE.
From-SVN: r159455
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 15ff1b3c212..5fb57dcdda7 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -365,7 +365,7 @@ emutls_decl (tree decl) /* Note that we use the hash of the decl's name, rather than a hash of the decl's pointer. In emutls_finish we iterate through the hash table, and we want this traversal to be predictable. */ - in.hash = htab_hash_string (IDENTIFIER_POINTER (name)); + in.hash = IDENTIFIER_HASH_VALUE (name); in.base.from = decl; loc = htab_find_slot_with_hash (emutls_htab, &in, in.hash, INSERT); h = (struct tree_map *) *loc; |