diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-18 23:05:50 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-18 23:05:50 +0000 |
commit | de064be970f5146ba9366d41733609a4fb2b11c6 (patch) | |
tree | 8ae71f8ebd710043f6c88db05c9fe55db40aecfc /gcc/sched-vis.c | |
parent | c3dd0e8588136d0b1ce121dcebf82701189af760 (diff) | |
download | gcc-de064be970f5146ba9366d41733609a4fb2b11c6.tar.gz |
Index: gcc/java/ChangeLog
2007-05-18 Geoffrey Keating <geoffk@apple.com>
* jcf-dump.c (HANDLE_MAGIC): Use 'unsigned long' for %lx.
(print_constant): Likewise.
Index: gcc/ChangeLog
2007-05-18 Geoffrey Keating <geoffk@apple.com>
* dwarf2out.c (print_die): Use '%ld' not '%lu' to print a 'long'.
(output_die): Use 'unsigned long' with %x.
* sched-vis.c (print_value): Use 'unsigned HOST_WIDE_INT' and
HOST_WIDE_INT_PRINT_HEX to print HOST_WIDE_INT.
* tree-dump.c (dump_pointer): Use 'unsigned long' for %lx.
Index: gcc/cp/ChangeLog
2007-05-18 Geoffrey Keating <geoffk@apple.com>
* mangle.c (write_real_cst): Use 'unsigned long' for %lx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124839 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r-- | gcc/sched-vis.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c index 20129559470..fec0bb70824 100644 --- a/gcc/sched-vis.c +++ b/gcc/sched-vis.c @@ -430,7 +430,10 @@ print_value (char *buf, rtx x, int verbose) if (FLOAT_MODE_P (GET_MODE (x))) real_to_decimal (t, CONST_DOUBLE_REAL_VALUE (x), sizeof (t), 0, 1); else - sprintf (t, "<0x%lx,0x%lx>", (long) CONST_DOUBLE_LOW (x), (long) CONST_DOUBLE_HIGH (x)); + sprintf (t, + "<" HOST_WIDE_INT_PRINT_HEX "," HOST_WIDE_INT_PRINT_HEX ">", + (unsigned HOST_WIDE_INT) CONST_DOUBLE_LOW (x), + (unsigned HOST_WIDE_INT) CONST_DOUBLE_HIGH (x)); cur = safe_concat (buf, cur, t); break; case CONST_STRING: |