This is the mail archive of the gcc-patches@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]

tree.h and TREE_PERMANENT


I think the comment preceding copy_node() in tree.h is outdated.  This
patch fixes it.  Ok?  Or should the comment mention that TREE_CHAIN is
zero?

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* tree.h (copy_node): Don't mention TREE_PERMANENT.

Index: tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.334
diff -u -r1.334 tree.h
--- tree.h 4 May 2002 20:14:59 -0000 1.334
+++ tree.h 11 May 2002 22:10:03 -0000
@@ -2080,9 +2080,7 @@
 
 extern tree make_node			PARAMS ((enum tree_code));
 
-/* Make a copy of a node, with all the same contents except
-   for TREE_PERMANENT.  (The copy is permanent
-   iff nodes being made now are permanent.)  */
+/* Make a copy of a node, with all the same contents.  */
 
 extern tree copy_node			PARAMS ((tree));
 


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