https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56469
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Author: marxin Date: Fri Apr 28 12:50:08 2017 New Revision: 247371 URL: https://gcc.gnu.org/viewcvs?rev=247371&root=gcc&view=rev Log: Remove .gcno file when compilation does not success (PR driver/56469). 2017-04-28 Martin Liska <mli...@suse.cz> PR driver/56469 * coverage.c (coverage_remove_note_file): New function. * coverage.h: Declare the function. * toplev.c (finalize): Clean if an error has been seen. Modified: trunk/gcc/ChangeLog trunk/gcc/coverage.c trunk/gcc/coverage.h trunk/gcc/toplev.c