GCOV: introduce vector for function_info::counts.
authorMartin Liska <mliska@suse.cz>
Mon, 13 Nov 2017 09:05:55 +0000 (10:05 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 13 Nov 2017 09:05:55 +0000 (09:05 +0000)
commit4464b9772d6f2fe927a47f3a3e120ce5938fbfdf
treef876ea768acf1c06dad716e919c26a23c9366774
parent1e81a283a22723f943643002376fc73427001ba0
GCOV: introduce vector for function_info::counts.

2017-11-13  Martin Liska  <mliska@suse.cz>

* gcov.c (function_info::function_info): Remove num_counts
and add vector<gcov_type>.
(function_info::~function_info): Use the vector.
(process_file): Likewise.
(read_graph_file): Likewise.
(read_count_file): Likewise.
(solve_flow_graph): Likewise.

From-SVN: r254674
gcc/ChangeLog
gcc/gcov.c