summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-21 23:56:31 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-21 23:56:31 +0000
commita318d522c494e269e6003c862fd6064348a75a55 (patch)
treedf133d80f484b2990f8f1b2baf82f2dd2b106eeb /gcc/print-tree.c
parent47340b690c37845edf81a431596fd6d403fa6700 (diff)
downloadgcc-a318d522c494e269e6003c862fd6064348a75a55.tar.gz
(print_node{,_brief}): Print machine attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9017 138bc75d-0d04-0410-961f-82ee72b054a4
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 3eb2d6a3356..2b002af44fa 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",