diff options
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/dump.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a2c540f..d8aaf4c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2004-07-16 Nathan Sidwell <nathan@codesourcery.com> + PR c++/16583 + * dump.c (cp_dump_tree): Don't dump the bases if there's no + binfo. + * pt.c (tsubst) <TREE_BINFO case>: We should never get here. 2004-07-15 Mark Mitchell <mark@codesourcery.com> diff --git a/gcc/cp/dump.c b/gcc/cp/dump.c index 64a462e..1669a96 100644 --- a/gcc/cp/dump.c +++ b/gcc/cp/dump.c @@ -264,7 +264,7 @@ cp_dump_tree (void* dump_info, tree t) if (CLASSTYPE_TEMPLATE_SPECIALIZATION(t)) dump_string(di, "spec"); - if (!dump_flag (di, TDF_SLIM, t)) + if (!dump_flag (di, TDF_SLIM, t) && TYPE_BINFO (t)) { int i; |