From 4280146803b2daf0df4c47eaf07fc73094fd47be Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Mon, 13 Jul 1998 22:29:02 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree.h | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 * 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 { -- 2.30.2