This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc: speed problem with several g++ versions
- From: Patrick Audley <paudley at blackcat dot ca>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 4 Aug 2004 04:17:14 -0500
- Subject: Re: gcc: speed problem with several g++ versions
- Organization: Blackcat Systems, http://blackcat.ca
- References: <410E3788.1080806@math.tu-dresden.de>
On Monday 02 August 2004 07:46, Andreas Kowarz wrote:
> After recompiling with g++ version 3.4.1 we got a complete different
> result: prog about 2.9 seconds
> progtemp about 15.4 seconds !!!
> progover about 3.5 seconds
> This time the template version is not really good. :-(
> (Same problem with g++ version 3.3.2 on a different machine)
Hi Andreas,
With the 20040730 snapshot of 3.4 I get the same problem:
inanna:/tmp$ ./prog
Result: 19.168831
Time : 1,275829 seconds
inanna:/tmp$ ./progtemp
Result: 19.168831
Time : 6,431510 seconds
inanna:/tmp$ ./progover
Result: 19.168831
Time : 1,300775 seconds
inanna:/tmp$ gcc --version
gcc (GCC) 3.4.2 20040730 (prerelease)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
I never turn down sex, a free meal or an offer for free code...
...
Patrick Audley paudley@blackcat.ca
Rubicon Enterprises/Blackcat Systems
Vancouver, Saigon, UK http://blackcat.ca