aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-dump.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-02-27 15:49:19 +0000
committerTom Tromey <tromey@redhat.com>2008-02-27 15:49:19 +0000
commit028da7a9d2bcf819e7c6b8b35c759d93d81e212f (patch)
treec7d5b8592207313dbc275710296aa14c3a10106f /gcc/tree-dump.c
parent99d5b2496f81993b50153266fd5a43fe73639039 (diff)
* tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@132722 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r--gcc/tree-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c
index 6af106af934..a377deb959f 100644
--- a/gcc/tree-dump.c
+++ b/gcc/tree-dump.c
@@ -1,5 +1,5 @@
/* Tree-dumping functionality for intermediate representation.
- Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007
+ Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
Written by Mark Mitchell <mark@codesourcery.com>
@@ -550,7 +550,7 @@ dequeue_and_dump (dump_info_p di)
dump_string_field (di, "link", "extern");
else
dump_string_field (di, "link", "static");
- if (DECL_LANG_SPECIFIC (t) && !dump_flag (di, TDF_SLIM, t))
+ if (DECL_SAVED_TREE (t) && !dump_flag (di, TDF_SLIM, t))
dump_child ("body", DECL_SAVED_TREE (t));
break;