This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 11/16/2015 01:12 PM, Richard Biener wrote:
On Sun, Nov 15, 2015 at 9:21 AM, Andris Pavenis <andris.pavenis@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.
Could somebody apply it as I do not have SVN write access. Andris
Andris 2015-11-15 Andris Pavenis <andris.pavenis@iki.fi> * gcc/lto-streamer-out.c (write_global_references): Adjust integer type (lto_output_decl_state_refs): Likewise
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |