OSDN Git Service

* dbxout.c (dbxout_type): Don't test whether the binfo slot of
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jul 2004 09:21:49 +0000 (09:21 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Jul 2004 09:21:49 +0000 (09:21 +0000)
RECORD, UNION & QUAL_UNION is actually a binfo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84149 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dbxout.c

index 4100c85..bb5e669 100644 (file)
@@ -1,5 +1,8 @@
 2004-07-06  Nathan Sidwell  <nathan@codesourcery.com>
 
+       * dbxout.c (dbxout_type): Don't test whether the binfo slot of
+       RECORD, UNION & QUAL_UNION is actually a binfo.
+
        * tree.h (TREE_VIA_VIRTUAL): Rename to ...
        (BINFO_VIRTUAL_P): ... here. Require TREE_BINFO only.
        (BINFO_MARKED, BINFO_FLAG_[16]): New binfo flags.
index a8b47ba..77e1b35 100644 (file)
@@ -1636,7 +1636,6 @@ dbxout_type (tree type, int full)
        int i, n_baseclasses = 0;
 
        if (TYPE_BINFO (type) != 0
-           && TREE_CODE (TYPE_BINFO (type)) == TREE_VEC
            && TYPE_BINFO_BASETYPES (type) != 0)
          n_baseclasses = TREE_VEC_LENGTH (TYPE_BINFO_BASETYPES (type));