aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-04-13 07:38:16 -0400
committerJason Merrill <jason@gcc.gnu.org>1998-04-13 07:38:16 -0400
commit7d02bbefd529d1a7274e474dd74314b1f49c8562 (patch)
tree9f2156c6e7cd5217aacd11e18929fa8e89b94fe2 /gcc
parent556ffb6757a5bdcb8ad49656214c2e74a63d619b (diff)
downloadgcc-7d02bbefd529d1a7274e474dd74314b1f49c8562.zip
gcc-7d02bbefd529d1a7274e474dd74314b1f49c8562.tar.gz
gcc-7d02bbefd529d1a7274e474dd74314b1f49c8562.tar.bz2
* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
From-SVN: r19199
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog15
-rw-r--r--gcc/tree.h13
2 files changed, 23 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2b7466f..8033957 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
+
+ * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
+
Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
* invoke.texi (ld options) Include memset requirements
@@ -1955,6 +1959,11 @@ Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
* collect2.c (main): Still handle !do_collecting for non-AIX targets.
+1998-02-16 Mark Mitchell <mmitchell@usa.net>
+
+ * toplev.c (rest_of_compilation): Do not defer the output of a
+ nested function.
+
Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
* ginclude/va-mips.h (va_arg): Remove trailing space after '\'
@@ -2240,6 +2249,12 @@ Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
* varasm.c (assemble_string): Similarly for 'i'.
* i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
+1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
+
+ * c-lang.c (lang_print_xnode): New function.
+ * objc/objc-act.c (lang_print_xnode): Likewise.
+ * print-tree.c (print_node): Call it
+
Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (decl_scope_node): New type.
diff --git a/gcc/tree.h b/gcc/tree.h
index 03af577..668ca69 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -847,7 +847,7 @@ struct tree_type
#define BINFO_OFFSET(NODE) TREE_VEC_ELT ((NODE), 1)
#define TYPE_BINFO_OFFSET(NODE) BINFO_OFFSET (TYPE_BINFO (NODE))
-#define BINFO_OFFSET_ZEROP(NODE) (BINFO_OFFSET (NODE) == integer_zero_node)
+#define BINFO_OFFSET_ZEROP(NODE) (integer_zerop (BINFO_OFFSET (NODE)))
/* The virtual function table belonging to this basetype. Virtual
function tables provide a mechanism for run-time method dispatching.
@@ -875,15 +875,18 @@ struct tree_type
#define BINFO_BASETYPES(NODE) TREE_VEC_ELT ((NODE), 4)
#define TYPE_BINFO_BASETYPES(NODE) TREE_VEC_ELT (TYPE_BINFO (NODE), 4)
+/* Accessor macro to get to the Nth basetype of this basetype. */
+#define BINFO_BASETYPE(NODE,N) TREE_VEC_ELT (BINFO_BASETYPES (NODE), (N))
+#define TYPE_BINFO_BASETYPE(NODE,N) BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)))
+
/* For a BINFO record describing an inheritance, this yields a pointer
to the artificial FIELD_DECL node which contains the "virtual base
class pointer" for the given inheritance. */
-
#define BINFO_VPTR_FIELD(NODE) TREE_VEC_ELT ((NODE), 5)
-/* Accessor macro to get to the Nth basetype of this basetype. */
-#define BINFO_BASETYPE(NODE,N) TREE_VEC_ELT (BINFO_BASETYPES (NODE), (N))
-#define TYPE_BINFO_BASETYPE(NODE,N) BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)))
+/* The size of a base class subobject of this type. */
+#define BINFO_SIZE(NODE) TREE_VEC_ELT ((NODE), 6)
+#define TYPE_BINFO_SIZE(NODE) BINFO_SIZE (TYPE_BINFO (NODE))
/* Slot used to build a chain that represents a use of inheritance.
For example, if X is derived from Y, and Y is derived from Z,