Message ID | AANLkTi=f_sBFFpNJ6Vd73HkfdpqwO+Mr82qa3LLSYF84@mail.gmail.com |
---|---|
State | New |
Headers | show |
On Thu, Sep 9, 2010 at 12:29 PM, Kai Tietz <ktietz70@googlemail.com> wrote: > ChangeLog > > 2010-09-09 Kai Tietz > > * dwarf2out.c (get_ref_die_offset_label): Cast die_offset to > HWINT. This is OK. Thanks. Ian
On Fri, Sep 10, 2010 at 6:17 PM, Ian Lance Taylor <iant@google.com> wrote: > On Thu, Sep 9, 2010 at 12:29 PM, Kai Tietz <ktietz70@googlemail.com> wrote: > >> ChangeLog >> >> 2010-09-09 Kai Tietz >> >> * dwarf2out.c (get_ref_die_offset_label): Cast die_offset to >> HWINT. > > This is OK. Isn't it fixed by http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00924.html
2010/9/11 H.J. Lu <hjl.tools@gmail.com>: > On Fri, Sep 10, 2010 at 6:17 PM, Ian Lance Taylor <iant@google.com> wrote: >> On Thu, Sep 9, 2010 at 12:29 PM, Kai Tietz <ktietz70@googlemail.com> wrote: >> >>> ChangeLog >>> >>> 2010-09-09 Kai Tietz >>> >>> * dwarf2out.c (get_ref_die_offset_label): Cast die_offset to >>> HWINT. >> >> This is OK. > > Isn't it fixed by > > http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00924.html > > > > -- > H.J. > It is already fixed by Jakub. Kai
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. */