This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
- From: mike stump <mrs at windriver dot com>
- To: dewar at gnat dot com, gdr at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org, scott at coyotegulch dot com
- Date: Mon, 20 May 2002 10:27:17 -0700 (PDT)
- Subject: Re: gcc compile-time performance
- References: <20020518160651.63DF5F2D46@nile.gnat.com>
> To: dewar@gnat.com, gdr@codesourcery.com
> Cc: gcc@gcc.gnu.org, scott@coyotegulch.com
> Date: Sat, 18 May 2002 12:06:51 -0400 (EDT)
> From: dewar@gnat.com (Robert Dewar)
> > Telling people to buy the fastest computer isn't an indication that
> > the "everyone is in favor of improving the speed and memory usage of GCC."
> If you think otherwise, please specify how you think it is possible
> to speed up GCC significantly.
[ passing thought mode: ON ]
gcov gcc, then build gcc with -O1. Count the number of characters in
the source files, and take n log n of that, and then display in red
any count in the gcov listing that is above that. Then, track down
the loop that causes that number to be high, and find a way to
eliminate or limit that loop. And pray it isn't GC.