2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-29 03:24:41 +08:00

* class.c (dump_class_hierarchy): Print HOST_WIDE_INT properly.

From-SVN: r31571
This commit is contained in:
Brad Lucier 2000-01-23 18:58:54 +00:00 committed by Mark Mitchell
parent bf419747e9
commit 92ac3c0f75
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2000-01-23 Brad Lucier <lucier@math.purdue.edu>
* class.c (dump_class_hierarchy): Print HOST_WIDE_INT properly.
2000-01-23 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (register_dtor_fn): New function.

View File

@ -6297,10 +6297,12 @@ dump_class_hierarchy (binfo, indent)
{
int i;
fprintf (stderr, "%*s0x%lx (%s) %d %s\n", indent, "",
fprintf (stderr, "%*s0x%lx (%s) ", indent, "",
(unsigned long) binfo,
type_as_string (binfo, TS_PLAIN),
TREE_INT_CST_LOW (BINFO_OFFSET (binfo)),
type_as_string (binfo, TS_PLAIN));
fprintf (stderr, HOST_WIDE_INT_PRINT_DEC,
TREE_INT_CST_LOW (BINFO_OFFSET (binfo)));
fprintf (stderr, " %s\n",
BINFO_PRIMARY_MARKED_P (binfo) ? "primary" : "");
for (i = 0; i < BINFO_N_BASETYPES (binfo); ++i)