This is the mail archive of the gcc@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]

Re: C compile time


> > 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.
> 
> Do you mean -O3 here? -fno-inline-functions
> -funit-at-a-time -O2 was exactly the same as
> -funit-at-a-time -O2.

Hmm, I realize there is no way to disable inlining functions once.
I will prepare patch and then come back :)
> 
> > 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?
> 
> 1Gig. Not enough I take it :-)
:)) I just wondered whether it is GC triggering.  My system is 256MB, so
it should not be better in this regard than yours.

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


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