Re: [PATCH 1/3] libiberty: add htab_eq_string

2021-05-06 Thread Richard Biener via Gcc-patches
On Thu, May 6, 2021 at 12:41 AM Tom Tromey wrote: > > The libiberty hash table includes a helper function for strings, but > no equality function. Consequently, this equality function has been > reimplemented a number of times in both the gcc and binutils-gdb > source trees. This patch adds the

[PATCH 1/3] libiberty: add htab_eq_string

2021-05-05 Thread Tom Tromey
The libiberty hash table includes a helper function for strings, but no equality function. Consequently, this equality function has been reimplemented a number of times in both the gcc and binutils-gdb source trees. This patch adds the function to the libiberty hash table, as a step toward the go