This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.5 Status (2004-08-29)
On Sun, Aug 29, 2004 at 07:46:31PM -0700, Matt Austern wrote:
> You are not the only person who cares about C++ compilation times at
> -O0. This is a major concern for Apple, and I expect that improving
> C++ -O0 compilation time will be my primary activity for some time. I
> don't think the current status it too awful, actually, but we do still
> have a way to go.
>
> Do you have any suggestions for improving -O0 compile speed?
It would seem to me that doing some relatively simple optimizations at
-O0, focused on reducing code size while preserving observable values (so
people using debuggers don't notice), should speed up -O0 by reducing the
amount of RTL that has to be turned into instructions, and reducing the
size of the files that must be processed by the assembler and linker.