On Sun, Nov 15, 2015 at 9:21 AM, Andris Pavenis <andris.pave...@iki.fi> wrote:
> This fixes use of pointers different unsigned integer types as function
> parameter.
> Function prototype is (see gcc/tree-streamer.h):
>
> bool streamer_tree_cache_lookup (struct streamer_tree_cache_d *, tree,
>                  unsigned *);
>
> gcc/lto-streamer-out.c passes uint32_t int * as parameter to this method in
> 2 places.
> Current type unisgned is used elsewhere in the same file.
>
> uint32_t is not guaranteed to be the same as unsigned (for DJGPP uint32_t is
> actually
> unsigned long). That causes compile failure for DJGPP native build.

Ok.

Thanks,
Richard.

> Andris
>
> 2015-11-15 Andris Pavenis <andris.pave...@iki.fi>
>
> * gcc/lto-streamer-out.c (write_global_references): Adjust integer type
>   (lto_output_decl_state_refs): Likewise
>

Reply via email to