This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Optimizing GCC
- From: "Scott Robert Ladd" <scott at coyotegulch dot com>
- To: "gcc List" <gcc at gcc dot gnu dot org>
- Date: Sat, 1 Mar 2003 20:14:50 -0500
- Subject: RE: Optimizing GCC
Paolo Carlini wrote:
> in these days, when many GCC developers are striving to improve the
> compile-time performance of the compiler, I read with amazement this
> short article:
>
> http://www.linuxgazette.com/issue88/piszcz.html
>
> Honestly, I didn't try to reproduce the results, but if confirmed seems
> really interesting!
I haven't tried to reproduce the results, but they do match my experience
with optimization with gcc.
Other options may improve performance even more; for example, I find
that -O1 produces slightly faster code than does -O3. I've just finished
running tests with several thousand option combinations and gcc 3.2.2; I'm
writing up my findings this evening for publication on the 2nd or 3rd.
..Scott
--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)