aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-12 23:08:05 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-12 23:08:05 +0000
commit4a40e205b7bb644c4b18290554cd289a44b0d918 (patch)
tree78f8a30a4aeffbd2844a173d15fc441ae5bd9691 /gcc/print-tree.c
parent687f350d762c5d5ee05e38b85af26d2f15921447 (diff)
* print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
to print the alias set. * print-tree.c (print_node, DECL_* nodes and case 't'): Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34507 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 8774538ce3e..7e69e4b6b22 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -425,7 +425,11 @@ print_node (file, prefix, node, indent)
built_in_names[(int) DECL_FUNCTION_CODE (node)]);
if (DECL_POINTER_ALIAS_SET_KNOWN_P (node))
- fprintf (file, " alias set %d", DECL_POINTER_ALIAS_SET (node));
+ {
+ fprintf (file, " alias set ");
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC,
+ DECL_POINTER_ALIAS_SET (node));
+ }
if (TREE_CODE (node) == FIELD_DECL)
{
@@ -518,7 +522,8 @@ print_node (file, prefix, node, indent)
fprintf (file, " align %d", TYPE_ALIGN (node));
fprintf (file, " symtab %d", TYPE_SYMTAB_ADDRESS (node));
- fprintf (file, " alias set %d", TYPE_ALIAS_SET (node));
+ fprintf (file, " alias set ");
+ fprintf (file, HOST_WIDE_INT_PRINT_DEC, TYPE_ALIAS_SET (node));
print_node (file, "attributes", TYPE_ATTRIBUTES (node), indent + 4);