From: Richard Kenner Date: Thu, 24 Feb 2005 18:53:40 +0000 (+0000) Subject: print-tree.c (print_node_brief): Print LABEL_DECL_UID. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4961152d4362629a5d6892132bef11779052517b;p=gcc.git print-tree.c (print_node_brief): Print LABEL_DECL_UID. * print-tree.c (print_node_brief): Print LABEL_DECL_UID. (print_node): Likewise. Print TYPE_SIZES_GIMPLIFIED. From-SVN: r95507 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5a9024d8a29..cdc567124ef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-02-24 Richard Kenner + + * print-tree.c (print_node_brief): Print LABEL_DECL_UID. + (print_node): Likewise. + Print TYPE_SIZES_GIMPLIFIED. + 2005-02-24 Hans-Peter Nilsson * config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3") diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 8d8cbffc389..41d029a4bf4 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -79,6 +79,12 @@ print_node_brief (FILE *file, const char *prefix, tree node, int indent) { if (DECL_NAME (node)) fprintf (file, " %s", IDENTIFIER_POINTER (DECL_NAME (node))); + else if (TREE_CODE (node) == LABEL_DECL + && LABEL_DECL_UID (node) != -1) + fprintf (file, " L." HOST_WIDE_INT_PRINT_DEC, LABEL_DECL_UID (node)); + else + fprintf (file, " %c.%u", TREE_CODE (node) == CONST_DECL ? 'C' : 'D', + DECL_UID (node)); } else if (class == tcc_type) { @@ -217,6 +223,12 @@ print_node (FILE *file, const char *prefix, tree node, int indent) { if (DECL_NAME (node)) fprintf (file, " %s", IDENTIFIER_POINTER (DECL_NAME (node))); + else if (TREE_CODE (node) == LABEL_DECL + && LABEL_DECL_UID (node) != -1) + fprintf (file, " L." HOST_WIDE_INT_PRINT_DEC, LABEL_DECL_UID (node)); + else + fprintf (file, " %c.%u", TREE_CODE (node) == CONST_DECL ? 'C' : 'D', + DECL_UID (node)); } else if (class == tcc_type) { @@ -252,6 +264,9 @@ print_node (FILE *file, const char *prefix, tree node, int indent) fputs (" readonly", file); if (!TYPE_P (node) && TREE_CONSTANT (node)) fputs (" constant", file); + else if (TYPE_P (node) && TYPE_SIZES_GIMPLIFIED (node)) + fputs (" sizes-gimplified", file); + if (TREE_INVARIANT (node)) fputs (" invariant", file); if (TREE_ADDRESSABLE (node))