aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-05-15 14:56:11 -0400
committerJason Merrill <jason@gcc.gnu.org>1998-05-15 14:56:11 -0400
commitbbc0e641725646ce587b36d4e5f5421bdc75c274 (patch)
tree1e9ea8e3425f9eed96ace4ef5003802673438c69 /gcc/tree.h
parent92834d7d83c3cf2e798407bad2435a3aa6c716e8 (diff)
downloadgcc-bbc0e641725646ce587b36d4e5f5421bdc75c274.zip
gcc-bbc0e641725646ce587b36d4e5f5421bdc75c274.tar.gz
gcc-bbc0e641725646ce587b36d4e5f5421bdc75c274.tar.bz2
tree.h (BINFO_SIZE, [...]): New macros.
* tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros. * stor-layout.c (layout_record): Set it. * toplev.c (rest_of_compilation): Don't defer nested functions. From-SVN: r19781
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 7b7e4cf..9643f5d 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -899,7 +899,8 @@ struct tree_type
class pointer" for the given inheritance. */
#define BINFO_VPTR_FIELD(NODE) TREE_VEC_ELT ((NODE), 5)
-/* The size of a base class subobject of this type. */
+/* The size of a base class subobject of this type. Not all frontends
+ currently allocate the space for this field. */
#define BINFO_SIZE(NODE) TREE_VEC_ELT ((NODE), 6)
#define TYPE_BINFO_SIZE(NODE) BINFO_SIZE (TYPE_BINFO (NODE))