aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/dbxout.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4100c85..bb5e669 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index a8b47ba..77e1b35 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));