diff options
author | Andris Pavenis <andris.pavenis@iki.fi> | 2015-11-16 23:13:37 +0200 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-11-16 14:13:37 -0700 |
commit | 83b4db6df5f0717e6537bc6ab63406a2acc340e3 (patch) | |
tree | 231f7091c40a9ac5aef1eb03c2ea9fc8ef062e04 | |
parent | 0f62c7a0cc5b2da41f98c338185dbf036ad468ff (diff) | |
download | gcc-83b4db6df5f0717e6537bc6ab63406a2acc340e3.zip gcc-83b4db6df5f0717e6537bc6ab63406a2acc340e3.tar.gz gcc-83b4db6df5f0717e6537bc6ab63406a2acc340e3.tar.bz2 |
lto-streamer-out.c (write_global_references): Adjust integer type.
* lto-streamer-out.c (write_global_references): Adjust integer type.
(lto_output_decl_state_refs): Likewise.
From-SVN: r230436
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lto-streamer-out.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa6dcd5..5d6213f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-16 Andris Pavenis <andris.pavenis@iki.fi> + + * lto-streamer-out.c (write_global_references): Adjust integer type. + (lto_output_decl_state_refs): Likewise. + 2015-11-16 James Greenhalgh <james.greenhalgh@arm.com> * config/arm/arm-cores.def (cortex-a35): New. diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 3e087d1..0d610f1 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2387,7 +2387,7 @@ write_global_references (struct output_block *ob, for (index = 0; index < size; index++) { - uint32_t slot_num; + unsigned slot_num; t = lto_tree_ref_encoder_get_tree (encoder, index); streamer_tree_cache_lookup (ob->writer_cache, t, &slot_num); @@ -2422,7 +2422,7 @@ lto_output_decl_state_refs (struct output_block *ob, struct lto_out_decl_state *state) { unsigned i; - uint32_t ref; + unsigned ref; tree decl; /* Write reference to FUNCTION_DECL. If there is not function, |