This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't output unused string constants
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] Don't output unused string constants
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 13 Nov 2000 11:40:24 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20001106175250.L6915@sunsite.ms.mff.cuni.cz>
On Mon, Nov 06, 2000 at 05:52:50PM +0100, Jakub Jelinek wrote:
> +#define MAX_STR_HASH_TABLE 251
> +static struct deferred_string *const_str_table[MAX_STR_HASH_TABLE];
I'd *really* rather used one of the data structures from
libiberty -- either hashtab or splay-tree.
Otherwise ok.
r~