compilation tim increase from 3.2.3 to 3.3.2
Jozef Kruger
jbkruger@students.cs.uu.nl
Fri Jul 30 12:03:00 GMT 2004
Dear gcc people,
I noticed that moving from gcc 3.2.3 to gcc 3.3.2 made compilation time of
files with huge expressions increase by a lot.
What we compile here are simulators for our processors and those programs
can include huge expressions. Attached to this email you'll find a file
that contains a number of expressions of almost 80.000 characters. (it has
been preprocessed and can be easily compiled with: gcc -c -xc
toplevel.hdfc.e -o toplevel.hdfc.o )
The problem is that with 3.2.3 compilation takes 32 seconds:
time gcc -c -xc toplevel.hdfc.e -o toplevel.hdfc.o
gcc -c -xc toplevel.hdfc.e -o toplevel.hdfc.o 31.17s user 0.66s
system 99% cpu 32.001 total
With 3.3.2 it takes 38 minutes:
time gcc -c -xc toplevel.hdfc.e -o toplevel.hdfc.o
gcc -c -xc toplevel.hdfc.e -o toplevel.hdfc.o 2269.29s user 4.87s
system 99% cpu 38:04.19 total
The system was an Intel(R) Xeon(TM) CPU 2.80GHz with 4gb memory..
The goal of this email is not to get immediate support :), I just thought
you might like to see an example like this to be able to determine what's
caused this immense increase in compilation time between versions 3.2.3
and 3.3.2.
I hope you can use this info, could you keep me posted about this issue?
Thanks very much,
Jozef Kruger
--
Drs. Jozef Kruger
Compiler Designer
Silicon Hive (Philips Research)
http://www.siliconhive.com
Eindhoven, the Netherlands
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toplevel.hdfc.e.gz
Type: application/x-gzip
Size: 103029 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20040730/a5213ca2/attachment.bin>
More information about the Gcc-help
mailing list