[Bug c++/13776] [tree-ssa] Many C++ compile-time regression in 3.5-tree-ssa 040120

zack at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 31 19:53:00 GMT 2004


------- Additional Comments From zack at codesourcery dot com  2004-03-31 19:53 -------
Subject: Re:  [tree-ssa] Many C++ compile-time regression in
 3.5-tree-ssa 040120

"rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla@gcc.gnu.org> writes:

> We have a lot of pointer hashing in gcc now and I see the above, too. 
> We can possibly micro-optimize the pointer hashing by introducing a 
> "specialization" of the libiberty hashfn for pointers where we can 
> inline both the hashing function and the comparison function.  It will 
> introduce some code duplication, though (if this only was using C++ and 
> templates...).

Something I've wanted to do for a long time is do poor-man's templates
on hashtab.[ch] with macros.  But I never seem to get sufficient round
tuits.

zw


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13776



More information about the Gcc-bugs mailing list