diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-13 22:29:02 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-07-13 22:29:02 +0000 |
commit | 96fbeb6bf8d7f2af5c0fbbc69a4a8321f55ae389 (patch) | |
tree | 1e6cb0a00a520e566c4d87dba0f54e73b7823784 | |
parent | a63cc789967a9d5cdda5f0c8a41e2adcdec76745 (diff) | |
download | gcc-96fbeb6bf8d7f2af5c0fbbc69a4a8321f55ae389.tar.gz |
* tree.h (tree_common): Note front-end dependencies on layout of
this structure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21118 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.h | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2d78aacdc32..e6ca0c33db5 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 652dddbd61a..039170ef8ba 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 { |