This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Speedup iterative_hash_expr
- From: DJ Delorie <dj at redhat dot com>
- To: jh at suse dot cz
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 3 Sep 2004 16:16:36 -0400
- Subject: Re: Speedup iterative_hash_expr
- References: <20040902184154.GI1947@kam.mff.cuni.cz>
> I quite dislike the hackery needed to get inlines in hashtab.h
> working,
Me too. I'm not a big fan of code-in-headers either; I'd rather have
real functions and take the call overhead than "pollute" public
headers with function macros and such.
> + #ifdef HOST_WIDE_INT
The use of HOST_WIDE_INT in libiberty's headers is inappropriate;
that's a gcc-private thing. Perhaps what you want is a gcc-local
"gcchash.h" that has these extensions in it? It doesn't look like
they would be at all useful outside of gcc.