Commit 4b49af15 by Trevor Saunders Committed by Trevor Saunders

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
parent 8cc4b7a2
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> 2014-09-12 Joseph Myers <joseph@codesourcery.com>
* target.def (libgcc_floating_mode_supported_p): New hook. * target.def (libgcc_floating_mode_supported_p): New hook.
...@@ -1598,8 +1598,9 @@ template<typename D> ...@@ -1598,8 +1598,9 @@ template<typename D>
static void static void
gt_pch_nx (hash_table<D> *h) gt_pch_nx (hash_table<D> *h)
{ {
gcc_checking_assert (gt_pch_note_object (h->m_entries, h, bool success ATTRIBUTE_UNUSED
hashtab_entry_note_pointers<D>)); = 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++) for (size_t i = 0; i < h->m_size; i++)
{ {
if (hash_table<D>::is_empty (h->m_entries[i]) if (hash_table<D>::is_empty (h->m_entries[i])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment