summaryrefslogtreecommitdiff
path: root/gcc/c-dump.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-10 04:50:53 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-10 04:50:53 +0000
commit1b55ec8068bcf752af412649fd7579383eefe79a (patch)
tree4246e43687c1babe51887e8eedea1afaecc70cf5 /gcc/c-dump.c
parentc25509f2935768c84f5a12ac00dc6d8f7fa69a30 (diff)
downloadgcc-1b55ec8068bcf752af412649fd7579383eefe79a.tar.gz
* c-dump.c (dequeue_and_dump): Dump function bodies.
* dump.c (cp_dump_tree): Don't dump function bodies here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37359 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-dump.c')
-rw-r--r--gcc/c-dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-dump.c b/gcc/c-dump.c
index 30b0816fe7f..96a2548b571 100644
--- a/gcc/c-dump.c
+++ b/gcc/c-dump.c
@@ -504,6 +504,8 @@ dequeue_and_dump (di)
dump_string (di, "extern");
else
dump_string (di, "static");
+ if (DECL_LANG_SPECIFIC (t))
+ dump_child ("body", DECL_SAVED_TREE (t));
break;
case ASM_STMT: