Create x.gcov file for binary w/o x.gcda file (PR
authorMartin Liska <mliska@suse.cz>
Fri, 12 Aug 2016 12:23:32 +0000 (14:23 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 12 Aug 2016 12:23:32 +0000 (12:23 +0000)
commit20d1af89b40d0a939a7afefeecf6652bd587e18b
treea32f57e0747c8e6fd6212627797e861dc79b2c8b
parent5cacda56cbeea80e5c5257b6716c5761d3dbd0d9
Create x.gcov file for binary w/o x.gcda file (PR

* g++.dg/gcov/gcov-16.C: New test.
* lib/gcov.exp: Support new argument for run-gcov function.
    Adam Fineman  <afineman@afineman.com>

* gcov.c (process_file): Create .gcov file when .gcda
file is missing.

From-SVN: r239413
gcc/ChangeLog
gcc/gcov.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gcov/gcov-16.C [new file with mode: 0644]
gcc/testsuite/lib/gcov.exp