diff options
author | Dodji Seketeli <dodji@redhat.com> | 2011-10-18 08:44:49 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@gcc.gnu.org> | 2011-10-18 10:44:49 +0200 |
commit | d17687f6f0ec28df90cb851a15cf0945d7b7ba57 (patch) | |
tree | f0f196717a123734651cdeb6d17553bca251f465 /libcpp/line-map.c | |
parent | d5899fb5d3b3a45dc81f6a2e4cca8355f1a17a56 (diff) | |
download | gcc-d17687f6f0ec28df90cb851a15cf0945d7b7ba57.zip gcc-d17687f6f0ec28df90cb851a15cf0945d7b7ba57.tar.gz gcc-d17687f6f0ec28df90cb851a15cf0945d7b7ba57.tar.bz2 |
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
Diffstat (limited to 'libcpp/line-map.c')
-rw-r--r-- | libcpp/line-map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/line-map.c b/libcpp/line-map.c index 43e2856..fb3be3a 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -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; |