From a8bafc433ca3957e3388b51ad340c6dffdda68f5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 27 Feb 2008 15:49:19 +0000 Subject: tree-dump.c (dequeue_and_dump): Check DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body. * tree-dump.c (dequeue_and_dump) : Check DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body. From-SVN: r132722 --- gcc/tree-dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-dump.c') 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 @@ -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; -- cgit v1.2.1