This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc tree changes
- To: John Carr <jfc at mit dot edu>
- Subject: Re: gcc tree changes
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 11 Dec 1997 23:51:24 -0700
- cc: egcs at cygnus dot com
- Reply-To: egcs at cygnus dot com
In message <199709200240.WAA22310@jfc.>you write:
>
> This is primarily to make the compiler faster (I haven't measured
> recently; an earlier version of this change together with a similar
> change for rtl which I will send soon made a combined difference of a
> few percent in compile speed). It may also reduce the size of the TOC
> on AIX.
>
> Basically, this removes one or two levels of indirection;
> TREE_CODE_CLASS now makes one memory reference instead of three.
>
> This requires a slight change to the language front ends (included for
> Objective C and C++; Fortran doesn't seem to need it).
>
>
> Fri Sep 19 21:51:21 1997 John F. Carr <jfc@mit.edu>
>
> * tree.c, tree.h: Change tree_code_type, tree_code_length, and
> tree_code_name from pointers to arrays.
> * tree.c: Remove standard_tree_code_* variables, no longer used.
> * print-tree.c: Remove declaration of tree_code_name.
>
> * cp/lex.c (init_lex): Update for tree_code_* changes.
> * objc/objc-act.c (init_objc): Likewise.
>
> In addition to the patches, replace-regexp "\([^,]\)" with '\1' in
> gcc/tree.def, cp/cp-tree.def, objc/objc-tree.def.
Thanks. I've installed these patches.
jeff