This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Speedup iterative_hash_expr


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]