This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
tree.h and TREE_PERMANENT
- From: Tom Tromey <tromey at redhat dot com>
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: 11 May 2002 16:22:02 -0600
- Subject: tree.h and TREE_PERMANENT
- Reply-to: tromey at redhat dot com
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));