fix assert in hash_table pch routines
gcc/ChangeLog: 2014-09-12 Trevor Saunders <tsaunders@mozilla.com> * hash-table.h (gt_pch_nx): don't call gt_pch_note_object within an assert. From-SVN: r215216
This commit is contained in:
parent
8cc4b7a26d
commit
4b49af1535
@ -1,3 +1,8 @@
|
||||
2014-09-12 Trevor Saunders <tsaunders@mozilla.com>
|
||||
|
||||
* hash-table.h (gt_pch_nx): don't call gt_pch_note_object within an
|
||||
assert.
|
||||
|
||||
2014-09-12 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* target.def (libgcc_floating_mode_supported_p): New hook.
|
||||
|
@ -1598,8 +1598,9 @@ template<typename D>
|
||||
static void
|
||||
gt_pch_nx (hash_table<D> *h)
|
||||
{
|
||||
gcc_checking_assert (gt_pch_note_object (h->m_entries, h,
|
||||
hashtab_entry_note_pointers<D>));
|
||||
bool success ATTRIBUTE_UNUSED
|
||||
= gt_pch_note_object (h->m_entries, h, hashtab_entry_note_pointers<D>);
|
||||
gcc_checking_assert (success);
|
||||
for (size_t i = 0; i < h->m_size; i++)
|
||||
{
|
||||
if (hash_table<D>::is_empty (h->m_entries[i])
|
||||
|
Loading…
Reference in New Issue
Block a user