GCOV: simplify usage of function_info::artificial.
authorMartin Liska <mliska@suse.cz>
Mon, 13 Nov 2017 09:05:38 +0000 (10:05 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 13 Nov 2017 09:05:38 +0000 (09:05 +0000)
commit1e81a283a22723f943643002376fc73427001ba0
tree10270f8a6f85e34cc0945dfcff28311b734245ec
parent211bea6b40bfa457a9e8619cf653227206736e76
GCOV: simplify usage of function_info::artificial.

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

* gcov.c (function_info::is_artificial): New function.
(process_file): Erase all artificial early.
(generate_results): Skip as all artificial are already
removed.

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