C compile time

Jan Hubicka jh@suse.cz
Thu Jun 19 21:23:00 GMT 2003


> > Can you please try -O2 -funit-at-a-time?
> 
> Sure:
> 
> results with mainline (compiling cc1 from gcc 3.2.3):
> -O2      -O2 -funit...    -O3 -fno-unit...  -O3
> 483.84   558.45           595.36            704.59
>          +15.4%                             +18.3%
> 
> In other words, the compile time increase is
> comparable, though not equal...
Hmm, so we have combination of these two problems...

In case it is easy for you to do so, can you also compare -O2
-funit-at-a-time -fno-inline-functions and -O2 -fno-inline-functions.
That will elliminate the inlining once optimization that should be
guilty for majority of the slowdown.  In case it remains it is likely
memory overhead - how much memory do you have in your box?

Thanks for testing it!
Honza
> 
> Dara
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com



More information about the Gcc mailing list