This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13776] [tree-ssa] Many C++ compile-time regression in 3.5-tree-ssa 040120
- From: "zack at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2004 19:53:32 -0000
- Subject: [Bug c++/13776] [tree-ssa] Many C++ compile-time regression in 3.5-tree-ssa 040120
- References: <20040120183908.13776.kgardas@objectsecurity.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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