mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 05:00:23 +08:00
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
This commit is contained in:
parent
cb9e4f55b0
commit
4961152d43
@ -1,3 +1,9 @@
|
||||
2005-02-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* print-tree.c (print_node_brief): Print LABEL_DECL_UID.
|
||||
(print_node): Likewise.
|
||||
Print TYPE_SIZES_GIMPLIFIED.
|
||||
|
||||
2005-02-24 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user