summaryrefslogtreecommitdiff
path: root/gcc/cp/cxx-pretty-print.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-01 15:51:56 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-01 15:51:56 +0000
commitffa23556d08d513ef7558684fcbc8ce269102b30 (patch)
tree2def6dd5f3df50ec9750e71c7af3a314f0c66c12 /gcc/cp/cxx-pretty-print.c
parent43bf5d72a08229da09c59460922275147fe59e48 (diff)
downloadgcc-ffa23556d08d513ef7558684fcbc8ce269102b30.tar.gz
PR c++/13092
* init.c (build_offset_ref): Build SCOPE_REF with non-null TREE_TYPE for non-dependent names. * pt.c (type_dependent_expression_p): Handle SCOPE_REF with unknown_type_node as its TREE_TYPE. * cxx-pretty_print.c (pp_cxx_unqualified_id): Handle BASELINK. * error.c (dump_decl) <SCOPE_REF case>: Use pp_expression. (dump_expr) <SCOPE_REF case>: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82551 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cxx-pretty-print.c')
-rw-r--r--gcc/cp/cxx-pretty-print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c
index c5e667d9495..328ece0f332 100644
--- a/gcc/cp/cxx-pretty-print.c
+++ b/gcc/cp/cxx-pretty-print.c
@@ -180,6 +180,10 @@ pp_cxx_unqualified_id (cxx_pretty_printer *pp, tree t)
pp_cxx_template_id (pp, t);
break;
+ case BASELINK:
+ pp_cxx_unqualified_id (pp, BASELINK_FUNCTIONS (t));
+ break;
+
case RECORD_TYPE:
case UNION_TYPE:
case ENUMERAL_TYPE: