[patch]: Fix bootstrap failure in dwarf2out for x86_64-*-mingw32
Kai Tietz
ktietz70@googlemail.com
Thu Sep 9 19:30:00 GMT 2010
Hello,
ChangeLog
2010-09-09 Kai Tietz
* dwarf2out.c (get_ref_die_offset_label): Cast die_offset to
HWINT.
Tested for x86_64-pc-linux-gnu, i686-pc-mingw32, and
x86_64-w64-mingw32. Ok for apply?
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
Index: dwarf2out.c
===================================================================
--- dwarf2out.c (revision 164107)
+++ dwarf2out.c (working copy)
@@ -6546,7 +6546,7 @@
get_ref_die_offset_label (char *label, dw_die_ref ref)
{
sprintf (label, "%s+" HOST_WIDE_INT_PRINT_DEC,
- debug_info_section_label, ref->die_offset);
+ debug_info_section_label, (HOST_WIDE_INT) ref->die_offset);
}
/* Convert a DIE tag into its string name. */
More information about the Gcc-patches
mailing list