[RFC] [PATCH] Move cpplib out of the gcc directory

Ian Lance Taylor ian@wasabisystems.com
Tue May 18 22:47:00 GMT 2004


Paolo Bonzini <bonzini@gnu.org> writes:

> - I decided to move hashtable.c to libiberty (it looks useful enough).
>    This means K&R'ing it.

libiberty already has hashtab.c.  It seems confusing to have both
hashtab.c and hashtable.c.  The difference between them seems to be
that hashtab.c is generic, while hashtable.c is specialized to only
work on strings, and to omit deleting entries from the hash table.

If we are going to move hashtable.c to libiberty, perhaps we could
give it a different name, like hashstr.c or something like that.

Ian



More information about the Gcc-patches mailing list