GCC 3.3 compile speed regression - THE GRAPH

Fergus Henderson fjh@cs.mu.OZ.AU
Sun Feb 9 20:46:00 GMT 2003


On 09-Feb-2003, Diego Novillo <dnovillo@redhat.com> wrote:
> On Mon, 10 Feb 2003, Fergus Henderson wrote:
> 
> > compiler	version		options		compilation time
> > --------	-------		-------		----------------
> > gcc 	2.95.4		-c -O2 ...      5.53
> > gcc		2.95.4		-c -O1 ...      3.19
> > gcc		2.95.4		-c -O0 ...      2.65
> > lcc         4.1             -c      	1.04
> > tcc         1.9.16          -c      	0.34
> > 
> What optimizations were used by 'lcc' and 'tcc'?  i.e., is GCC 7
> times or 16 times slower than 'tcc'?  What about the generated
> code?  I want to make sure that we are comparing apples to
> apples.

Neither lcc nor tcc are optimizing compilers.
So the right one to compare compilation speed with is `-O0'.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc mailing list