summaryrefslogtreecommitdiff
path: root/gcc/cp/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/dump.c')
-rw-r--r--gcc/cp/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c
index f765c32a6fb..f5cc1dde4ce 100644
--- a/gcc/cp/dump.c
+++ b/gcc/cp/dump.c
@@ -272,7 +272,7 @@ cp_dump_tree (void* dump_info, tree t)
{
tree base_binfo = BINFO_BASETYPE (TYPE_BINFO (t), i);
dump_child ("base", BINFO_TYPE (base_binfo));
- if (TREE_VIA_VIRTUAL (base_binfo))
+ if (BINFO_VIRTUAL_P (base_binfo))
dump_string (di, "virtual");
dump_access (di, base_binfo);
}