diff options
author | Doug Kwan <dougkwan@google.com> | 2008-04-15 19:56:20 +0000 |
---|---|---|
committer | Doug Kwan <dougkwan@gcc.gnu.org> | 2008-04-15 19:56:20 +0000 |
commit | 3d57d7cee73c4606a1c2fd7a936285b8496eb41a (patch) | |
tree | d834560ba814bbd7a2a3e597e31030c651b67b9d /gcc/dwarf2out.c | |
parent | d98c89de9bb0530cb4aeb91771d88b82bce5dba1 (diff) | |
download | gcc-3d57d7cee73c4606a1c2fd7a936285b8496eb41a.zip gcc-3d57d7cee73c4606a1c2fd7a936285b8496eb41a.tar.gz gcc-3d57d7cee73c4606a1c2fd7a936285b8496eb41a.tar.bz2 |
dwarf2asm.c (dw2_assemble_integer): Cast to unsigned HOST_WIDE_INT for hex printing.
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.
From-SVN: r134331
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 2d8736d..49c13d2 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -2116,7 +2116,8 @@ output_cfi (dw_cfi_ref cfi, dw_fde_ref fde, int for_eh) dw2_asm_output_data (1, (cfi->dw_cfi_opc | (cfi->dw_cfi_oprnd1.dw_cfi_offset & 0x3f)), "DW_CFA_advance_loc " HOST_WIDE_INT_PRINT_HEX, - cfi->dw_cfi_oprnd1.dw_cfi_offset); + ((unsigned HOST_WIDE_INT) + cfi->dw_cfi_oprnd1.dw_cfi_offset)); else if (cfi->dw_cfi_opc == DW_CFA_offset) { r = DWARF2_FRAME_REG_OUT (cfi->dw_cfi_oprnd1.dw_cfi_reg_num, for_eh); |