summaryrefslogtreecommitdiff
path: root/gcc/sched-vis.c
diff options
context:
space:
mode:
authordougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-15 19:56:20 +0000
committerdougkwan <dougkwan@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-15 19:56:20 +0000
commit7df7561ba1864fd6e9ec25a8010f84b109c429a2 (patch)
treed834560ba814bbd7a2a3e597e31030c651b67b9d /gcc/sched-vis.c
parentc5aaf380f1298b1e15d9f08da9d27efc4d9580f3 (diff)
downloadgcc-7df7561ba1864fd6e9ec25a8010f84b109c429a2.tar.gz
2008-04-15 Doug Kwan <dougkwan@google.com>
* dwarf2asm.c (dw2_assemble_integer): Cast to unsigned HOST_WIDE_INT for hex printing. * tree-pretty-print.c (dump_generic_node): Ditto. * final.c (output_addr_const): Ditto. * dwarf2out.c (output_cfi): Ditto. * c-pretty-print.c (pp_c_integer_constant): Ditto. * print-rtl.c (print_rtx): Ditto. * print-tree.c (print_node_brief, print_node): Ditto. * c-common.c (match_case_to_enum_1): Ditto. * sched-vis.c (print_value): Ditto. * config/i386/i386.c (print_operand): Cast to long unsigned int for hex printing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134331 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r--gcc/sched-vis.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c
index 8f4597247e5..242791ba9e1 100644
--- a/gcc/sched-vis.c
+++ b/gcc/sched-vis.c
@@ -434,7 +434,8 @@ print_value (char *buf, const_rtx x, int verbose)
switch (GET_CODE (x))
{
case CONST_INT:
- sprintf (t, HOST_WIDE_INT_PRINT_HEX, INTVAL (x));
+ sprintf (t, HOST_WIDE_INT_PRINT_HEX,
+ (unsigned HOST_WIDE_INT) INTVAL (x));
cur = safe_concat (buf, cur, t);
break;
case CONST_DOUBLE: