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: gcc compile-time performance


In article <20020518015213.4421E2CBD3@inet1.ywave.com> you write:
>It doesn't require -O2 to get as much optimization as gcc used to 
>have, but I don't see anyone willing to cut back even to -Os to economize on 
>bootstrap time.


In case you have missed this, I pitted gcc 2.95.3 -O2 against gcc 3.1 -O1,
to see which one was fastest. On the same source. Something big enough to
be relevant: a BSD kernel.

gcc 2.95.3 wins hands down, by about 20%.


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