Fix bootstrap on !NO_IMPLICIT_EXTERN_C and ia32 targets
libcpp/ * include/line-map.h (struct linemap_stats): Change the type of the members from size_t to long. * macro.c (macro_arg_token_iter_init): Unconditionally initialize iter->location_ptr. gcc/c-family/ * c-lex.c (fe_file_change): Use LINEMAP_SYSP when !NO_IMPLICIT_EXTERN_C. gcc/ * input.c (dump_line_table_statistics): Use long, not size_t. From-SVN: r180124
This commit is contained in:
parent
d5899fb5d3
commit
d17687f6f0
8 changed files with 51 additions and 28 deletions
|
@ -1180,7 +1180,7 @@ void
|
|||
linemap_get_statistics (struct line_maps *set,
|
||||
struct linemap_stats *s)
|
||||
{
|
||||
size_t ordinary_maps_allocated_size, ordinary_maps_used_size,
|
||||
long ordinary_maps_allocated_size, ordinary_maps_used_size,
|
||||
macro_maps_allocated_size, macro_maps_used_size,
|
||||
macro_maps_locations_size = 0, duplicated_macro_maps_locations_size = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue