aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-05-06 18:31:50 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-05-06 18:31:50 -0400
commit0c7f6f66c40de5a9f948753aa278f340798b5784 (patch)
tree38c55b77f6dfdc86f813a563a088af1c7a29aae2 /gcc/print-tree.c
parent4b027d160e235705a6a3928d26e4fac9a046a627 (diff)
downloadgcc-0c7f6f66c40de5a9f948753aa278f340798b5784.zip
gcc-0c7f6f66c40de5a9f948753aa278f340798b5784.tar.gz
gcc-0c7f6f66c40de5a9f948753aa278f340798b5784.tar.bz2
(print_node): Print attributes.
From-SVN: r7255
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index a638a49..9c8fbcc 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -1,5 +1,5 @@
/* Prints out tree in human readable form - GNU C-compiler
- Copyright (C) 1990, 1991, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1991, 1993, 1994 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -437,6 +437,8 @@ print_node (file, prefix, node, indent)
fprintf (file, " align %d", TYPE_ALIGN (node));
fprintf (file, " symtab %d", TYPE_SYMTAB_ADDRESS (node));
+ print_node (file, "attributes", TYPE_ATTRIBUTES (node), indent + 4);
+
if (TREE_CODE (node) == ARRAY_TYPE || TREE_CODE (node) == SET_TYPE)
print_node (file, "domain", TYPE_DOMAIN (node), indent + 4);
else if (TREE_CODE (node) == INTEGER_TYPE