Fix tree statistics with -fmem-report.
authorMartin Liska <mliska@suse.cz>
Wed, 14 Mar 2018 11:17:01 +0000 (12:17 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 14 Mar 2018 11:17:01 +0000 (11:17 +0000)
commitaf1430196a223b94fd0aeaf292d9ce22730f7e23
treea47a2735d3082add3cc0b4f60dba9c69d0553e5f
parent70458d76db278e538d23bea83413e43db0acf955
Fix tree statistics with -fmem-report.

2018-03-14  Martin Liska  <mliska@suse.cz>

* tree.c (record_node_allocation_statistics): Use
get_stats_node_kind.
(get_stats_node_kind): New function extracted from
record_node_allocation_statistics.
(free_node): Use get_stats_node_kind.

From-SVN: r258521
gcc/ChangeLog
gcc/tree.c