diff options
Diffstat (limited to 'gcc/hash-table.h')
-rw-r--r-- | gcc/hash-table.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gcc/hash-table.h b/gcc/hash-table.h index 4f5e150..a39fb94 100644 --- a/gcc/hash-table.h +++ b/gcc/hash-table.h @@ -303,6 +303,8 @@ extern unsigned int hash_table_sanitize_eq_limit; 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, @@ -1010,18 +1012,6 @@ hash_table<Descriptor, Lazy, Allocator> 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. */ |