diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/print-rtl.c | 2 | ||||
-rw-r--r-- | gcc/print-tree.c | 9 |
3 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f490946b317..3324401aa66 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Mon Jun 12 17:04:17 2000 Jeffrey A Law (law@cygnus.com) + + * 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. + 2000-06-12 J. David Anglin <dave@hiauly1.hia.nrc.ca> * config/float-vax.h: Add GFLOAT defines. diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index ab19a16343c..7f458fb799c 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -398,7 +398,7 @@ print_rtx (in_rtx) switch (GET_CODE (in_rtx)) { case MEM: - fprintf (outfile, " %d", MEM_ALIAS_SET (in_rtx)); + fprintf (outfile, HOST_WIDE_INT_PRINT_DEC, MEM_ALIAS_SET (in_rtx)); break; #if HOST_FLOAT_FORMAT == TARGET_FLOAT_FORMAT && MAX_LONG_DOUBLE_TYPE_SIZE == 64 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); |