This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PCH] GCable hash tables
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Geoffrey Keating <geoffk at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 30 May 2002 21:56:04 -0400 (EDT)
- Subject: Re: [PCH] GCable hash tables
On Fri, 10 May 2002, Geoffrey Keating wrote:
> This patch adds gcability to the 'htab_t' hash tables. (My next patch
> will nuke the 'struct hashtable' hash tables.)
>
> I deleted htab_try_create because I couldn't find any reference to it
> in the two source trees.
It's left-over from a side-effect of an abandoned attempt of
mine to fix severe bugs in the vtable-gc support in binutils
(don't use it). The vtable-gc stuff was obsoleted (hence the
patch abandoned) by the v3 (aka. "new") c++ abi which
unfortunately makes vtable-gc much harder to implement.
(I hope those who don't agree prove me wrong, though unlikely.)
> The functionality is still available,
Fair enough. FWIW, the need was to cause allocation failure
pass on NULL to the caller instead of calling abort.
brgds, H-P