Commit 92ac3c0f by Brad Lucier Committed by Mark Mitchell

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

From-SVN: r31571
parent bf419747
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> 2000-01-23 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (register_dtor_fn): New function. * cp-tree.h (register_dtor_fn): New function.
......
...@@ -6297,10 +6297,12 @@ dump_class_hierarchy (binfo, indent) ...@@ -6297,10 +6297,12 @@ dump_class_hierarchy (binfo, indent)
{ {
int i; int i;
fprintf (stderr, "%*s0x%lx (%s) %d %s\n", indent, "", fprintf (stderr, "%*s0x%lx (%s) ", indent, "",
(unsigned long) binfo, (unsigned long) binfo,
type_as_string (binfo, TS_PLAIN), type_as_string (binfo, TS_PLAIN));
TREE_INT_CST_LOW (BINFO_OFFSET (binfo)), fprintf (stderr, HOST_WIDE_INT_PRINT_DEC,
TREE_INT_CST_LOW (BINFO_OFFSET (binfo)));
fprintf (stderr, " %s\n",
BINFO_PRIMARY_MARKED_P (binfo) ? "primary" : ""); BINFO_PRIMARY_MARKED_P (binfo) ? "primary" : "");
for (i = 0; i < BINFO_N_BASETYPES (binfo); ++i) for (i = 0; i < BINFO_N_BASETYPES (binfo); ++i)
......
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