From: Nathan Sidwell Date: Tue, 6 Jul 2004 09:21:49 +0000 (+0000) Subject: dbxout.c (dbxout_type): Don't test whether the binfo slot of RECORD, UNION & QUAL_UNI... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2da8f02333e9f0eb20457f4cb4ebbe74a02f5c83;p=gcc.git dbxout.c (dbxout_type): Don't test whether the binfo slot of RECORD, UNION & QUAL_UNION is actually a binfo. * dbxout.c (dbxout_type): Don't test whether the binfo slot of RECORD, UNION & QUAL_UNION is actually a binfo. From-SVN: r84149 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4100c8561a4..bb5e6694c02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-07-06 Nathan Sidwell + * 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. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index a8b47bad876..77e1b35d8d9 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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));