This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: One line performance tweak
- To: Peter Bienstman <Peter dot Bienstman at rug dot ac dot be>
- Subject: Re: One line performance tweak
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 10 Jan 2001 05:17:33 +0100 (CET)
- cc: <zackw at stanford dot edu>, <gcc-patches at gcc dot gnu dot org>
On Sat, 6 Jan 2001, Peter Bienstman wrote:
> Strange, I'm not aware of any huge functions in my code. First I thought
> they might be due to overactive inlining of the Blitz template library,
> but dropping down to -O2 to disable inlining gives essentially the same
> compile times.
Yes, template-heavy code causes an extreme slowdown for the compiler.
The situation was already bad with 2.95.2, but current CVS really is
hardly usable for actual software development.
> This is definitely a regression with respect to gcc 2.95.2. Perhaps it
> has something to do with the function-at-a-time mode?
Yes, as far as I can tell, the slowdown and that switch roughly coincided.
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/