This is the mail archive of the gcc-help@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]
Other format: [Raw text]

compilation tim increase from 3.2.3 to 3.3.2


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

Attachment: toplevel.hdfc.e.gz
Description: GNU Zip compressed data


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