diff options
author | Martin Liska <mliska@suse.cz> | 2019-10-25 11:13:12 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-10-25 09:13:12 +0000 |
commit | f88b78ae374f143cca63a56b1eecf8d426045f4e (patch) | |
tree | fa5800e41e5b3318fd0d468bcb5ab5708f559f7d /gcc/tree.c | |
parent | 89d0345ad7b8d84045813972ee60557a6b511c57 (diff) | |
download | gcc-f88b78ae374f143cca63a56b1eecf8d426045f4e.zip gcc-f88b78ae374f143cca63a56b1eecf8d426045f4e.tar.gz gcc-f88b78ae374f143cca63a56b1eecf8d426045f4e.tar.bz2 |
Fix typo in dump_tree_statistics.
2019-10-25 Martin Liska <mliska@suse.cz>
* tree.c (dump_tree_statistics): Use sorted index 'j' and not 'i'.
From-SVN: r277440
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9673,7 +9673,7 @@ dump_tree_statistics (void) { unsigned j = indices[i]; fprintf (stderr, "%-20s %6" PRIu64 "%c %9" PRIu64 "%c\n", - tree_node_kind_names[i], SIZE_AMOUNT (tree_node_counts[j]), + tree_node_kind_names[j], SIZE_AMOUNT (tree_node_counts[j]), SIZE_AMOUNT (tree_node_sizes[j])); total_nodes += tree_node_counts[j]; total_bytes += tree_node_sizes[j]; |