aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 57b07ace4bb..7e725b647a0 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -72,12 +72,12 @@ dump_addr (FILE *file, const char *prefix, void *addr)
void
print_node_brief (FILE *file, const char *prefix, tree node, int indent)
{
- enum tree_code_class class;
+ enum tree_code_class tcc;
if (node == 0)
return;
- class = TREE_CODE_CLASS (TREE_CODE (node));
+ tcc = TREE_CODE_CLASS (TREE_CODE (node));
/* Always print the slot this node is in, and its code, address and
name if any. */
@@ -86,7 +86,7 @@ print_node_brief (FILE *file, const char *prefix, tree node, int indent)
fprintf (file, "%s <%s", prefix, tree_code_name[(int) TREE_CODE (node)]);
dump_addr (file, " ", node);
- if (class == tcc_declaration)
+ if (tcc == tcc_declaration)
{
if (DECL_NAME (node))
fprintf (file, " %s", IDENTIFIER_POINTER (DECL_NAME (node)));
@@ -97,7 +97,7 @@ print_node_brief (FILE *file, const char *prefix, tree node, int indent)
fprintf (file, " %c.%u", TREE_CODE (node) == CONST_DECL ? 'C' : 'D',
DECL_UID (node));
}
- else if (class == tcc_type)
+ else if (tcc == tcc_type)
{
if (TYPE_NAME (node))
{
@@ -173,7 +173,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
int hash;
struct bucket *b;
enum machine_mode mode;
- enum tree_code_class class;
+ enum tree_code_class tcc;
int len;
int i;
expanded_location xloc;
@@ -183,7 +183,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
return;
code = TREE_CODE (node);
- class = TREE_CODE_CLASS (code);
+ tcc = TREE_CODE_CLASS (code);
/* Don't get too deep in nesting. If the user wants to see deeper,
it is easy to use the address of a lowest-level node
@@ -195,7 +195,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
return;
}
- if (indent > 8 && (class == tcc_type || class == tcc_declaration))
+ if (indent > 8 && (tcc == tcc_type || tcc == tcc_declaration))
{
print_node_brief (file, prefix, node, indent);
return;
@@ -232,7 +232,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
dump_addr (file, " ", node);
/* Print the name, if any. */
- if (class == tcc_declaration)
+ if (tcc == tcc_declaration)
{
if (DECL_NAME (node))
fprintf (file, " %s", IDENTIFIER_POINTER (DECL_NAME (node)));
@@ -243,7 +243,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
fprintf (file, " %c.%u", TREE_CODE (node) == CONST_DECL ? 'C' : 'D',
DECL_UID (node));
}
- else if (class == tcc_type)
+ else if (tcc == tcc_type)
{
if (TYPE_NAME (node))
{