This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
David S. Miller wrote:-
> Honestly, GCC is littered with stupidities like that. Nobody, and I
> mean NOBODY is looking into this. I can say this with some certainly
> since it took me 5 minutes to discover a %13 overhead that could be
> trivially fixed.
No-one has mentioned the fact that GCC >= 3.0 has the advantage over
2.95.x of an integrated CPP, where even ignoring the overhead of
reading and writing the preprocessed output, is faster than 2.95.x
cccp at producing tokens.
There is room for some speedup in CPP (10-20%?), but not much IMO.
Neil.