diff options
author | Jeffrey A Law <law@cygnus.com> | 2000-06-12 23:08:05 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-06-12 17:08:05 -0600 |
commit | c5588504703c907d00bf1424405aed0da645a27c (patch) | |
tree | 78f8a30a4aeffbd2844a173d15fc441ae5bd9691 /gcc | |
parent | c6bb035c2de2e9dfac81e072c35c5cb818a8912d (diff) | |
download | gcc-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')
-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 f490946..3324401 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 ab19a16..7f458fb 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 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); |