Commit b0afa2fc by Mark Mitchell Committed by Mark Mitchell

re PR debug/11473 (ICE with -gstabs when empty struct inheits from an empty struct)

	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.

From-SVN: r69414
parent 2a868fac
2003-07-15 Mark Mitchell <mark@codesourcery.com>
PR debug/11473
* dbxout.c (dbxout_type): Use TYPE_SIZE to determine the sizes of
base classes.
2003-07-15 Kazu Hirata <kazu@cs.umass.edu>
PR target/10795
......
......@@ -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);
......
2003-07-15 Mark Mitchell <mark@codesourcery.com>
PR debug/11473
* g++.dg/debug/debug8.C: New test.
2003-07-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10108
......
struct t{};
struct g : public t{};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment