tree.h (tree_common): Note front-end dependencies on layout of this structure.
authorJeffrey A Law <law@cygnus.com>
Mon, 13 Jul 1998 22:29:02 +0000 (22:29 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 13 Jul 1998 22:29:02 +0000 (16:29 -0600)
        * tree.h (tree_common): Note front-end dependencies on layout of
        this structure.

From-SVN: r21118

gcc/ChangeLog
gcc/tree.h

index 2d78aac..e6ca0c3 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jul 13 23:26:43 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * tree.h (tree_common): Note front-end dependencies on layout of
+       this structure.
+
 Mon Jul 13 23:18:39 1998  Craig Burley  <burley@gnu.org>
 
        * stmt.c (expand_expr_stmt): If not assigning fresh
index 652dddb..039170e 100644 (file)
@@ -154,7 +154,11 @@ typedef union tree_node *tree;
 /* Every kind of tree node starts with this structure,
    so all nodes have these fields.
 
-   See the accessor macros, defined below, for documentation of the fields.  */
+   See the accessor macros, defined below, for documentation of the fields. 
+
+   DO NOT change the layout of tree_common unless absolutely necessary.  Some
+   front-ends (namely g++) depend on the internal layout of this tructure.
+   See my_tree_cons in the cp subdir for such uglyness.  Ugh.  */
 
 struct tree_common
 {