diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-07-06 09:21:49 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-07-06 09:21:49 +0000 |
commit | 2da8f02333e9f0eb20457f4cb4ebbe74a02f5c83 (patch) | |
tree | b0e3625018e0bcd6b1f74b996ef2e1321277c01b /gcc | |
parent | 809e3e7fece2749886700d92571232ec3faef2a0 (diff) | |
download | gcc-2da8f02333e9f0eb20457f4cb4ebbe74a02f5c83.zip gcc-2da8f02333e9f0eb20457f4cb4ebbe74a02f5c83.tar.gz gcc-2da8f02333e9f0eb20457f4cb4ebbe74a02f5c83.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/dbxout.c | 1 |
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)); |