Commit a8bafc43 by Tom Tromey Committed by Tom Tromey

tree-dump.c (dequeue_and_dump): Check DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.

	* tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
	DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.

From-SVN: r132722
parent f35f8a60
2008-02-27 Tom Tromey <tromey@redhat.com>
* tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check
DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body.
2008-02-27 Jan Beulich <jbeulich@novell.com> 2008-02-27 Jan Beulich <jbeulich@novell.com>
* c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to
......
/* Tree-dumping functionality for intermediate representation. /* 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. Free Software Foundation, Inc.
Written by Mark Mitchell <mark@codesourcery.com> Written by Mark Mitchell <mark@codesourcery.com>
...@@ -550,7 +550,7 @@ dequeue_and_dump (dump_info_p di) ...@@ -550,7 +550,7 @@ dequeue_and_dump (dump_info_p di)
dump_string_field (di, "link", "extern"); dump_string_field (di, "link", "extern");
else else
dump_string_field (di, "link", "static"); 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)); dump_child ("body", DECL_SAVED_TREE (t));
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment