This is the mail archive of the
mailing list for the GCC project.
Re: gcc compile-time performance
- From: Marc Espie <espie at quatramaran dot ens dot fr>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 18 May 2002 13:46:43 +0200
- Subject: Re: gcc compile-time performance
- Organization: Ecole Normale Superieure (quatramaran)
- References: <20020518001420.36B7DF28C4@nile.gnat.com>
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
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%.