From b7d1c15e4efd1f63d19d23470b912b048cd9660b Mon Sep 17 00:00:00 2001
From: Dorit Naishlos <dorit@il.ibm.com>
Date: Tue, 12 Apr 2005 18:01:19 +0000
Subject: [PATCH] * tree-cfg.c (tree_verify_flow_info): Use LABEL_EXPR_LABEL.

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

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index df41196fcb3b..ebbc082c222a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-12  Dorit Naishlos  <dorit@il.ibm.com>
+
+	* tree-cfg.c (tree_verify_flow_info): Use LABEL_EXPR_LABEL.
+
 2005-04-12  Bernd Schmidt  <bernd.schmidt@analog.com>
 
 	* config/bfin/bfin.c (bfin_library_id_string): Remove.
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index d54408cc8c2f..1ecf322a942a 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -3880,7 +3880,7 @@ tree_verify_flow_info (void)
 	  if (TREE_CODE (stmt) == LABEL_EXPR)
 	    {
 	      error ("Label %s in the middle of basic block %d\n",
-		     IDENTIFIER_POINTER (DECL_NAME (stmt)),
+		     IDENTIFIER_POINTER (DECL_NAME (LABEL_EXPR_LABEL (stmt))),
 		     bb->index);
 	      err = 1;
 	    }
-- 
GitLab