diff options
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index d1c7d2d..e27ff7b 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -925,7 +925,8 @@ debug_binfo (elem) else fprintf (stderr, "no vtable decl yet\n"); fprintf (stderr, "virtuals:\n"); - virtuals = skip_rtti_stuff (elem, BINFO_TYPE (elem), &n); + virtuals = BINFO_VIRTUALS (elem); + n = first_vfun_index (BINFO_TYPE (elem)); while (virtuals) { |