diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df41196fcb3bf7c357dfc5c0ab51972210fd7035..ebbc082c222a4ba5c2d154a50365aa9f98145062 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 d54408cc8c2f8db983243c267408aae89c1e6689..1ecf322a942a342638232891f09ebb688b210f72 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; }