summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-08 05:57:48 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-08 05:57:48 +0000
commitc95b9ae3504a8da1a31c1ed2224f97b3d4b829a2 (patch)
tree775928cf6a1e9f1553ce9d66715128ff7443febe /gcc/print-tree.c
parent6b478e0035aa8103bd1985b85280892386cd32ef (diff)
downloadgcc-c95b9ae3504a8da1a31c1ed2224f97b3d4b829a2.tar.gz
2008-10-08 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r140962 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140963 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 16ba3929fab..fb9f12692c6 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -926,6 +926,12 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
case TARGET_OPTION_NODE:
cl_target_option_print (file, indent + 4, TREE_TARGET_OPTION (node));
break;
+ case IMPORTED_DECL:
+ fprintf (file, " imported declaration");
+ print_node_brief (file, "associated declaration",
+ IMPORTED_DECL_ASSOCIATED_DECL (node),
+ indent + 4);
+ break;
default:
if (EXCEPTIONAL_CLASS_P (node))