On 06/23/2015 08:49 AM, Richard Sandiford wrote:
This patch replaces various string hashers with a single copy
in hash-traits.h.
gcc/
* hash-traits.h (string_hash, nofree_string_hash): New classes.
* genmatch.c (capture_id_map_hasher): Use nofree_string_hash.
* passes.c
Mikhail Maltsev writes:
> On 23.06.2015 17:49, Richard Sandiford wrote:
>> Index: gcc/config/alpha/alpha.c
>> ===
>> --- gcc/config/alpha/alpha.c 2015-06-23 15:48:30.751788389 +0100
>> +++ gcc/config/alpha/alpha.c 2015-06-23 15:48:30.
On 23.06.2015 17:49, Richard Sandiford wrote:
> This patch replaces various string hashers with a single copy
> in hash-traits.h.
(snip)
> Index: gcc/config/alpha/alpha.c
> ===
> --- gcc/config/alpha/alpha.c 2015-06-23 15:48:30.7517
This patch replaces various string hashers with a single copy
in hash-traits.h.
gcc/
* hash-traits.h (string_hash, nofree_string_hash): New classes.
* genmatch.c (capture_id_map_hasher): Use nofree_string_hash.
* passes.c (pass_registry_hasher): Likewise.
* config/