GCC 3.3 compile speed regression - THE GRAPH
Robert Dewar
dewar@gnat.com
Mon Feb 10 04:11:00 GMT 2003
> 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.
More information about the Gcc
mailing list