From 1ee41d433d6d0fe65a719a5bb704de31043b2b78 Mon Sep 17 00:00:00 2001
From: Eric Botcazou <ebotcazou@adacore.com>
Date: Sat, 17 Oct 2009 16:03:49 +0000
Subject: [PATCH] * print-tree.c (print_node): Fix string for
 DECL_STRUCT_FUNCTION.

From-SVN: r152954
---
 gcc/ChangeLog    | 4 ++++
 gcc/print-tree.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 230f396c6c16..f6e263eab73b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-17  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* print-tree.c (print_node): Fix string for DECL_STRUCT_FUNCTION.
+
 2009-10-17  Richard Guenther  <rguenther@suse.de>
 
 	* lto-streamer-in.c (lto_input_location): Try to reuse
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index f4b74d95ffc3..ded9ea84308a 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -541,7 +541,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
 	       && DECL_STRUCT_FUNCTION (node) != 0)
 	{
 	  indent_to (file, indent + 4);
-	  dump_addr (file, "saved-insns ", DECL_STRUCT_FUNCTION (node));
+	  dump_addr (file, "struct-function ", DECL_STRUCT_FUNCTION (node));
 	}
 
       if ((code == VAR_DECL || code == PARM_DECL)
-- 
GitLab