This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.3 compile speed regression - THE GRAPH
- From: dewar at gnat dot com (Robert Dewar)
- To: dnovillo at redhat dot com, fjh at cs dot mu dot OZ dot AU
- Cc: gcc at gcc dot gnu dot org, zlaski at apple dot com
- Date: Sun, 9 Feb 2003 23:11:00 -0500 (EST)
- Subject: Re: GCC 3.3 compile speed regression - THE GRAPH
> Neither lcc nor tcc are optimizing compilers.
> So the right one to compare compilation speed with is `-O0'.
Even that is not an apples/apples comparison. Clearly if one does not
care about code quality, then it should be possible to write a C compiler
running at millions of lines a minute on a modern PC (compare for example
the speed of the Realia COBOL compiler). Even at -O0 you are paying
a significant price for the general structure of gcc which makes advanced
optimizations feasible (not to mention the very general table driven
sturcture of the code generator).
Certainly I agree that it should be possible to speed up gcc by a
significant factor while retaining these general characteristics, but
I am not sure it is instructive or useful to compare gcc performance
with tcc.