aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-07-13 22:29:02 +0000
committerJeff Law <law@gcc.gnu.org>1998-07-13 16:29:02 -0600
commit4280146803b2daf0df4c47eaf07fc73094fd47be (patch)
tree1e6cb0a00a520e566c4d87dba0f54e73b7823784 /gcc
parent8e539071f46481f3410813be4414b6a8f08b0b50 (diff)
downloadgcc-4280146803b2daf0df4c47eaf07fc73094fd47be.zip
gcc-4280146803b2daf0df4c47eaf07fc73094fd47be.tar.gz
gcc-4280146803b2daf0df4c47eaf07fc73094fd47be.tar.bz2
tree.h (tree_common): Note front-end dependencies on layout of this structure.
* tree.h (tree_common): Note front-end dependencies on layout of this structure. From-SVN: r21118
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2d78aac..e6ca0c3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/tree.h b/gcc/tree.h
index 652dddb..039170e 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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
{