Fix integer overflow in stats of GIMPLE statements.
authorMartin Liska <mliska@suse.cz>
Fri, 12 Jan 2018 14:47:26 +0000 (15:47 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 12 Jan 2018 14:47:26 +0000 (14:47 +0000)
commit33b366c3d4e96c37b60d440edff64f915cc1aaaf
treed74c032a2ed76fefc4ee3ce3417b5d327e3b0f01
parent00e4d22dc1e8224e090be6dac970fe583e8f39ac
Fix integer overflow in stats of GIMPLE statements.

2018-01-12  Martin Liska  <mliska@suse.cz>

* gimple.c (gimple_alloc_counts): Use uint64_t instead of int.
(gimple_alloc_sizes): Likewise.
(dump_gimple_statistics): Use PRIu64 in printf format.
* gimple.h: Change uint64_t to int.

From-SVN: r256584
gcc/ChangeLog
gcc/gimple.c
gcc/gimple.h