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]

[cs] compile server branch creation


Ok, time to get serious about it. :-) I've created a branch for the compile server that Per and I are developing.

Per will be dusting off the 3.4 version of his work and merging in our later work into it, and put it on the branch, then I'll start hacking up the C++ frontend to be nice. Then people will test it, it'll just work, then we'll be done. :-)

The major difference for the C++ frontend will be that it will keep everything in the symbol table simultaneously, and name look will decide at lookup time if a lookup finds an entry or not.

One can think of it this way:

file1.cc:

int i;


file2.cc:


int i;

sym[{"i","file1.cc"}] = i_decl_from_1
sym[{"i","file2.cc"}] = i_decl_from_2


name lookup then finds the right decl depending upon which header is active. The advantage is that the processing is a function of the size of the body of file being compiled instead of a function of the size of the headers processed.



The branch is called compile-server-branch as documented at:


http://gcc.gnu.org/cvs.html#devbranches


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