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]

Re: One line performance tweak


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/


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