summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-15 16:56:49 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-15 16:56:49 +0000
commit16745ccad80531fb7d9a2355a00678e98585263b (patch)
tree0cc5a9bc6ef1f8b7d528b6ab27ba16008cd9efda /gcc/dbxout.c
parent88fef905769efcb2918216ef34fb0498ce9d63b5 (diff)
downloadgcc-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.c4
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);