+2019-06-25 Martin Liska <mliska@suse.cz>
+
+ * hash-table.c (hashtab_chk_error): Move here from ...
+ * hash-table.h (hashtab_chk_error): ... here.
+
2019-06-25 Martin Liska <mliska@suse.cz>
PR tree-optimization/90978
hash_table_usage ().dump (origin);
}
}
+
+/* Report a hash table checking error. */
+
+ATTRIBUTE_NORETURN ATTRIBUTE_COLD
+void
+hashtab_chk_error ()
+{
+ fprintf (stderr, "hash table checking failed: "
+ "equal operator returns true for a pair "
+ "of values with a different hash value\n");
+ gcc_unreachable ();
+}
extern unsigned int hash_table_higher_prime_index (unsigned long n)
ATTRIBUTE_PURE;
+extern ATTRIBUTE_NORETURN ATTRIBUTE_COLD void hashtab_chk_error ();
+
/* Return X % Y using multiplicative inverse values INV and SHIFT.
The multiplicative inverses computed above are for 32-bit types,
return &m_entries[index];
}
-/* Report a hash table checking error. */
-
-ATTRIBUTE_NORETURN ATTRIBUTE_COLD
-static void
-hashtab_chk_error ()
-{
- fprintf (stderr, "hash table checking failed: "
- "equal operator returns true for a pair "
- "of values with a different hash value\n");
- gcc_unreachable ();
-}
-
/* Verify that all existing elements in th hash table which are
equal to COMPARABLE have an equal HASH value provided as argument. */