This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improving gcc scalability wrt _extra_ large C files


Hi,

I am at the moment compiling C files using g++/cc1plus, as they may end up beeing part of a C++ program. So far, I don't remember observing big differences in compile time between cc1 and cc1plus with my files.

Jacques.

Joseph S. Myers wrote:

On Thu, 13 Mar 2003, Jacques THOMAS wrote:



As I said a few days ago, gcc is awfully slow when it comes to compiling some very large generated C files (several hundred thousands of

^


1/ lookup_tag (gcc/cp/decl dot c at line 5239) does, more or less, a linear

                    ^^
Are you talking about C or C++?  Name lookup in C++ is much more complex
than in C and may have some reason to be slow.






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]