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: We're out of tree codes; now what?


On 3/12/07, Paolo Carlini <pcarlini@suse.de> wrote:
we are unavoidably
adding tree codes and we must solve the issue, one way or another.

Another real solution would perhaps be to not use 'tree' for front end specific data structures in C++, and instead just define g++ specific data structures to represent all the language details ;-)

G++ needs 64 (!) language specific tree codes, almost 7 times more
than any other front end, and in total more than twice as many as all
other front ends (java, ada, and objc)  together.

IMHO, now all languages are going to suffer from a larger 'tree' and a
slower compiler, because g++ basically abuses a shared data structure.

Gr.
Steven


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