[PCH] GCable hash tables

Hans-Peter Nilsson hp@bitrange.com
Thu May 30 19:49:00 GMT 2002


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



More information about the Gcc-patches mailing list