diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 16:56:49 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-15 16:56:49 +0000 |
commit | 16745ccad80531fb7d9a2355a00678e98585263b (patch) | |
tree | 0cc5a9bc6ef1f8b7d528b6ab27ba16008cd9efda /gcc/dbxout.c | |
parent | 88fef905769efcb2918216ef34fb0498ce9d63b5 (diff) | |
download | gcc-16745ccad80531fb7d9a2355a00678e98585263b.tar.gz |
PR debug/11473
* dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
base classes.
PR debug/11473
* g++.dg/debug/debug8.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69414 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 618094d2d5b..770b0be14c1 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -1756,9 +1756,7 @@ dbxout_type (tree type, int full) * BITS_PER_UNIT); putc (',', asmfile); CHARS (1); - print_wide_int (tree_low_cst (DECL_SIZE - (TYPE_NAME - (BINFO_TYPE (child))), + print_wide_int (tree_low_cst (TYPE_SIZE (BINFO_TYPE (child)), 0) * BITS_PER_UNIT); putc (';', asmfile); |