2018-10-31 Martin Liska <mliska@suse.cz>
* trans-decl.c (struct module_hasher): Call htab_hash_string
for s->name and not for s.
From-SVN: r265663
+2018-10-31 Martin Liska <mliska@suse.cz>
+
+ * trans-decl.c (struct module_hasher): Call htab_hash_string
+ for s->name and not for s.
+
2018-10-30 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/85896
{
typedef const char *compare_type;
- static hashval_t hash (module_htab_entry *s) { return htab_hash_string (s); }
+ static hashval_t hash (module_htab_entry *s)
+ {
+ return htab_hash_string (s->name);
+ }
+
static bool
equal (module_htab_entry *a, const char *b)
{