aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:56:31 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:56:31 -0500
commit38d68645061754e8123b3bbb369e15a043143b42 (patch)
treedf133d80f484b2990f8f1b2baf82f2dd2b106eeb /gcc/print-tree.c
parentc84b672ea9b4144aea41a6097de1203b93b6f4b6 (diff)
downloadgcc-38d68645061754e8123b3bbb369e15a043143b42.zip
gcc-38d68645061754e8123b3bbb369e15a043143b42.tar.gz
gcc-38d68645061754e8123b3bbb369e15a043143b42.tar.bz2
(print_node{,_brief}): Print machine attributes.
From-SVN: r9017
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 3eb2d6a..2b002af 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, 1994 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1991, 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -416,6 +416,7 @@ print_node (file, prefix, node, indent)
DECL_SOURCE_FILE (node), DECL_SOURCE_LINE (node));
print_node (file, "size", DECL_SIZE (node), indent + 4);
+ print_node (file, "attributes", TYPE_ATTRIBUTES (node), indent + 4);
indent_to (file, indent + 3);
if (TREE_CODE (node) != FUNCTION_DECL)
fprintf (file, " align %d", DECL_ALIGN (node));
@@ -426,6 +427,7 @@ print_node (file, prefix, node, indent)
if (TREE_CODE (node) == FIELD_DECL)
print_node (file, "bitpos", DECL_FIELD_BITPOS (node), indent + 4);
print_node_brief (file, "context", DECL_CONTEXT (node), indent + 4);
+ print_node_brief (file, "machine_attributes", DECL_MACHINE_ATTRIBUTES (node), indent + 4);
print_node_brief (file, "abstract_origin",
DECL_ABSTRACT_ORIGIN (node), indent + 4);
@@ -635,7 +637,8 @@ print_node (file, prefix, node, indent)
#endif
-TREE_INT_CST_LOW (node));
else
- fprintf (file,
+ fprintf (file, "%c", 'l');
+ fprintf (file,
#if HOST_BITS_PER_WIDE_INT == 64
#if HOST_BITS_PER_WIDE_INT != HOST_BITS_PER_INT
" 0x%lx%016lx",