This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Recent patch neglects to update tree.h - causes bootstrapfailure
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 26 Oct 2003 00:52:12 -0700
- Subject: Re: Recent patch neglects to update tree.h - causes bootstrapfailure
- References: <87llr8ihdc.fsf@egil.codesourcery.com>
"Zack Weinberg" <zack@codesourcery.com> writes:
> This patch
>
> 2003-10-25 Jan Hubicka <jh@suse.cz>
>
> * dwarf2out.c (dw_cfi_oprnd_struct): Offset is HOST_WIDE_INT.
> (cfa_loc): Likewise.
> (reg_save, stack_adjust_offset, queue_reg_save): Replace long by
> HOST_WIDE_INT.
> (args_size, old_args_size): change type to HOST_WIDE_INT.
> (dwarf2out_def_cfa, dwarf2out_args_size,
> dwarf2out_reg_save, new_loc_descr): offset is HOST_WIDE_INT.
> (dw_val_struct): integers, unsigneds and offsets are HOST_WIDE_INT.
> (add_AT_int, add_AT_unsigned, att_AT_offset, AT_int, AT_unsigned,
> AT_offset): Use HOST_WIDE_INT.
> (based_loc_descr): offset is HOST_WIDE_INT.
> (add_data_member): Likewise.
> (add_const_value_attribute): Simplify.
>
> breaks bootstrap on any target where HOST_WIDE_INT != long, because
> tree.h still has several declarations with 'long' types
... and also because you have a bunch of HOST_WIDE_INT quantities
being printed with %l[xdu] not HOST_WIDE_INT_PRINT_{HEX,DEC,UNSIGNED}.
zw