Fix integer overflow in stats of trees.
authorMartin Liska <mliska@suse.cz>
Fri, 12 Jan 2018 14:45:35 +0000 (15:45 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 12 Jan 2018 14:45:35 +0000 (14:45 +0000)
commit00e4d22dc1e8224e090be6dac970fe583e8f39ac
tree9db60d2f28b5c758fb23d06837456a895c9a71cb
parentb27b31dc2d160453e7b05168f1dd195e73cb176b
Fix integer overflow in stats of trees.

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

* tree-core.h: Use uint64_t instead of int.
* tree.c (tree_node_counts): Likewise.
(tree_node_sizes): Likewise.
(dump_tree_statistics): Use PRIu64 in printf format.

From-SVN: r256583
gcc/ChangeLog
gcc/tree-core.h
gcc/tree.c