From: Trevor Saunders Date: Wed, 9 Jul 2014 03:07:09 +0000 (+0000) Subject: playcate old gcc X-Git-Tag: releases/gcc-5.1.0~6445 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4e01495cc04172fbee0bb63a38c555b3e47db42;p=thirdparty%2Fgcc.git playcate old gcc gcc/ PR bootstrap/61679 * hash-table.h: use hash_table::value_type instead of Descriptor::value_type in the return types of several methods. From-SVN: r212384 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc4b72dea205..70a834147fda 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-07-08 Trevor Saunders + + PR bootstrap/61679 + * hash-table.h: use hash_table::value_type instead of + Descriptor::value_type in the return types of several methods. + 2014-07-08 Trevor Saunders * tree-pass.h (pass_data): Remove has_execute member. diff --git a/gcc/hash-table.h b/gcc/hash-table.h index 22af12f996c1..9c6a34ad70b2 100644 --- a/gcc/hash-table.h +++ b/gcc/hash-table.h @@ -663,7 +663,7 @@ hash_table::~hash_table () HASH is the hash value for the element to be inserted. */ template class Allocator> -typename Descriptor::value_type ** +typename hash_table::value_type ** hash_table ::find_empty_slot_for_expand (hashval_t hash) { @@ -803,7 +803,7 @@ hash_table::clear_slot (value_type **slot) be used to insert or delete an element. */ template class Allocator> -typename Descriptor::value_type * +typename hash_table::value_type * hash_table ::find_with_hash (const compare_type *comparable, hashval_t hash) { @@ -841,7 +841,7 @@ hash_table entry, NULL may be returned if memory allocation fails. */ template class Allocator> -typename Descriptor::value_type ** +typename hash_table::value_type ** hash_table ::find_slot_with_hash (const compare_type *comparable, hashval_t hash, enum insert_option insert) @@ -922,7 +922,9 @@ hash_table template class Allocator> template + int (*Callback) (typename hash_table::value_type **slot, + Argument argument)> void hash_table::traverse_noresize (Argument argument) { @@ -946,7 +948,8 @@ hash_table::traverse_noresize (Argument argument) template class Allocator> template ::value_type **slot, Argument argument)> void hash_table::traverse (Argument argument) @@ -1181,7 +1184,7 @@ hash_table::~hash_table () HASH is the hash value for the element to be inserted. */ template class Allocator> -typename Descriptor::value_type * +typename hash_table::value_type * hash_table ::find_empty_slot_for_expand (hashval_t hash) { @@ -1321,7 +1324,7 @@ hash_table::clear_slot (value_type *slot) be used to insert or delete an element. */ template class Allocator> -typename Descriptor::value_type & +typename hash_table::value_type & hash_table ::find_with_hash (const compare_type &comparable, hashval_t hash) { @@ -1358,7 +1361,7 @@ hash_table entry, NULL may be returned if memory allocation fails. */ template class Allocator> -typename Descriptor::value_type * +typename hash_table::value_type * hash_table ::find_slot_with_hash (const compare_type &comparable, hashval_t hash, enum insert_option insert) @@ -1440,7 +1443,8 @@ hash_table template class Allocator> template::value_type *slot, Argument argument)> void hash_table::traverse_noresize (Argument argument) @@ -1465,7 +1469,8 @@ hash_table::traverse_noresize (Argument argument) template class Allocator> template ::value_type *slot, Argument argument)> void hash_table::traverse (Argument argument)