* tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
authorJason Merrill <jason@gcc.gnu.org>
Mon, 13 Apr 1998 11:38:16 +0000 (07:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 13 Apr 1998 11:38:16 +0000 (07:38 -0400)
From-SVN: r19199

gcc/ChangeLog
gcc/tree.h

index 2b7466fad94b13555d9b59b385605a8af0055e1f..80339578c1a3c799765544cb652595dab196feb5 100644 (file)
@@ -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.
index 03af577247c38e83fd3850b0d724d07a2accefc9..668ca69250fd71c2ef2bcc21fadda187643e0201 100644 (file)
@@ -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,