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]

Re: gcc tree changes



  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


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