trans-decl.c (module_htab_decls_hash): Revert last change.
authorRichard Guenther <rguenther@suse.de>
Sun, 16 May 2010 17:27:09 +0000 (17:27 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sun, 16 May 2010 17:27:09 +0000 (17:27 +0000)
2010-05-16  Richard Guenther  <rguenther@suse.de>

* trans-decl.c (module_htab_decls_hash): Revert last change.

From-SVN: r159462

gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c

index 386c90f..af8ce0a 100644 (file)
@@ -1,5 +1,9 @@
 2010-05-16  Richard Guenther  <rguenther@suse.de>
 
+       * trans-decl.c (module_htab_decls_hash): Revert last change.
+
+2010-05-16  Richard Guenther  <rguenther@suse.de>
+
        * trans-decl.c (module_htab_decls_hash): Use IDENTIFIER_HASH_VALUE.
 
 2010-05-16  Manuel López-Ibáñez  <manu@gcc.gnu.org>
index 3216f68..56c88bc 100644 (file)
@@ -3374,7 +3374,7 @@ module_htab_decls_hash (const void *x)
   const_tree n = DECL_NAME (t);
   if (n == NULL_TREE)
     n = TYPE_NAME (TREE_TYPE (t));
-  return IDENTIFIER_HASH_VALUE (n);
+  return htab_hash_string (IDENTIFIER_POINTER (n));
 }
 
 static int