aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>2000-06-12 23:08:05 +0000
committerJeff Law <law@gcc.gnu.org>2000-06-12 17:08:05 -0600
commitc5588504703c907d00bf1424405aed0da645a27c (patch)
tree78f8a30a4aeffbd2844a173d15fc441ae5bd9691 /gcc/print-tree.c
parentc6bb035c2de2e9dfac81e072c35c5cb818a8912d (diff)
downloadgcc-c5588504703c907d00bf1424405aed0da645a27c.zip
gcc-c5588504703c907d00bf1424405aed0da645a27c.tar.gz
gcc-c5588504703c907d00bf1424405aed0da645a27c.tar.bz2
print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC to print the alias set.
* 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. From-SVN: r34507
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 8774538..7e69e4b 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);