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 /gcc/tree.h | |
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
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 { |