gcc: speed problem with several g++ versions
Patrick Audley
paudley@blackcat.ca
Wed Aug 4 09:17:00 GMT 2004
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
More information about the Gcc
mailing list