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
|
@ -1278,6 +1278,10 @@ macro_arg_token_iter_init (macro_arg_token_iter *iter,
|
|||
iter->track_macro_exp_p = track_macro_exp_p;
|
||||
iter->kind = kind;
|
||||
iter->token_ptr = token_ptr;
|
||||
/* Unconditionally initialize this so that the compiler doesn't warn
|
||||
about iter->location_ptr being possibly uninitialized later after
|
||||
this code has been inlined somewhere. */
|
||||
iter->location_ptr = NULL;
|
||||
if (track_macro_exp_p)
|
||||
iter->location_ptr = get_arg_token_location (arg, kind);
|
||||
#ifdef ENABLE_CHECKING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue